summaryrefslogtreecommitdiffstats
path: root/sbin/fsck
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-09-20 04:24:31 +0000
committernate <nate@FreeBSD.org>1996-09-20 04:24:31 +0000
commit4c36b3483c3768316f874b2ae9684cdf6512b92b (patch)
tree1839a20b775e22c9fe70f70fe0e76f13a985776b /sbin/fsck
parentc6c987075aa01799402b306b7cf9f20307a63822 (diff)
downloadFreeBSD-src-4c36b3483c3768316f874b2ae9684cdf6512b92b.zip
FreeBSD-src-4c36b3483c3768316f874b2ae9684cdf6512b92b.tar.gz
ts_sec -> tv_sec
ts_nsec -> tv_nsec
Diffstat (limited to 'sbin/fsck')
-rw-r--r--sbin/fsck/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck/inode.c b/sbin/fsck/inode.c
index aa47fb8..1c9f9b6 100644
--- a/sbin/fsck/inode.c
+++ b/sbin/fsck/inode.c
@@ -456,7 +456,7 @@ pinode(ino)
if (preen)
printf("%s: ", cdevname);
printf("SIZE=%qu ", dp->di_size);
- p = ctime(&dp->di_mtime.ts_sec);
+ p = ctime(&dp->di_mtime.tv_sec);
printf("MTIME=%12.12s %4.4s ", &p[4], &p[20]);
}
@@ -527,7 +527,7 @@ allocino(request, type)
return (0);
}
dp->di_mode = type;
- (void)time(&dp->di_atime.ts_sec);
+ (void)time(&dp->di_atime.tv_sec);
dp->di_mtime = dp->di_ctime = dp->di_atime;
dp->di_size = sblock.fs_fsize;
dp->di_blocks = btodb(sblock.fs_fsize);
OpenPOWER on IntegriCloud