summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/inode.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1998-12-03 02:41:11 +0000
committerjulian <julian@FreeBSD.org>1998-12-03 02:41:11 +0000
commitd77705b6d872e99ed9c1fe6ed1a27d8678cf7117 (patch)
tree18fe73766fe3f4bc6e842030267ad53b47f58fc5 /sbin/fsck_ffs/inode.c
parent64959e9518a11a823d591af2ed4f7c4c28ccb71a (diff)
downloadFreeBSD-src-d77705b6d872e99ed9c1fe6ed1a27d8678cf7117.zip
FreeBSD-src-d77705b6d872e99ed9c1fe6ed1a27d8678cf7117.tar.gz
Cosmetic and documentation changes brought from earlier FreeBSD versions.
(e.g. RCS Id:)
Diffstat (limited to 'sbin/fsck_ffs/inode.c')
-rw-r--r--sbin/fsck_ffs/inode.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c
index a54f2ce..5a8acd2 100644
--- a/sbin/fsck_ffs/inode.c
+++ b/sbin/fsck_ffs/inode.c
@@ -32,7 +32,11 @@
*/
#ifndef lint
+#if 0
static const char sccsid[] = "@(#)inode.c 8.8 (Berkeley) 4/28/95";
+#endif
+static const char rcsid[] =
+ "$Id: inode.c,v 1.16 1998/08/01 18:03:28 dfr Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -629,6 +633,7 @@ allocino(request, type)
dp->di_flags = 0;
dp->di_atime = time(NULL);
dp->di_mtime = dp->di_ctime = dp->di_atime;
+ dp->di_mtimensec = dp->di_ctimensec = dp->di_atimensec = 0;
dp->di_size = sblock.fs_fsize;
dp->di_blocks = btodb(sblock.fs_fsize);
n_files++;
OpenPOWER on IntegriCloud