summaryrefslogtreecommitdiff
path: root/ufs-fsck
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-23 23:33:38 +0000
committerMiles Bader <miles@gnu.org>1996-07-23 23:33:38 +0000
commitf6a0a2382e6eb2d209d311a6d962bb393328c91a (patch)
treec904696328c4d2a16b71f788a0137b8a64465338 /ufs-fsck
parentf78a7ca8d86f11f1890ca0c6c8c8bfcdc4ff30ab (diff)
(allocino): `struct timespec' now uses a field prefix of `tv_'.
Diffstat (limited to 'ufs-fsck')
-rw-r--r--ufs-fsck/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufs-fsck/inode.c b/ufs-fsck/inode.c
index 7c81f39a..df4b880e 100644
--- a/ufs-fsck/inode.c
+++ b/ufs-fsck/inode.c
@@ -147,8 +147,8 @@ allocino (ino_t request, mode_t mode)
dino.di_modeh = (mode & 0xffff0000) >> 16;
dino.di_model = (mode & 0x0000ffff);
gettimeofday (&tv, 0);
- dino.di_atime.ts_sec = tv.tv_sec;
- dino.di_atime.ts_nsec = tv.tv_usec * 1000;
+ dino.di_atime.tv_sec = tv.tv_sec;
+ dino.di_atime.tv_nsec = tv.tv_usec * 1000;
dino.di_mtime = dino.di_ctime = dino.di_atime;
dino.di_size = 0;
dino.di_blocks = 0;