summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/inode.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 04:58:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 04:58:23 +0000
commitd159acd8e129f51043090b4638d2d2b833744268 (patch)
treed85c176d04c7eced2ab02a1eb47106b32e66997c /sbin/fsck_ffs/inode.c
parent1fc642ea55c18aa85a7e16ed1180ec8397bf55c5 (diff)
time_t typecast; from bernd@arresum.inka.de; netbsd pr#1724
Diffstat (limited to 'sbin/fsck_ffs/inode.c')
-rw-r--r--sbin/fsck_ffs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c
index 67409b4ed03..1197965862c 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -540,7 +540,7 @@ allocino(request, type)
return (0);
}
dp->di_mode = type;
- (void)time(&dp->di_atime);
+ (void)time((time_t *)&dp->di_atime);
dp->di_mtime = dp->di_ctime = dp->di_atime;
dp->di_size = sblock.fs_fsize;
dp->di_blocks = btodb(sblock.fs_fsize);