aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/inode.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1998-12-03 02:41:11 +0000
committerJulian Elischer <julian@FreeBSD.org>1998-12-03 02:41:11 +0000
commit6b100474f7c528056b7c9320de2f8e6eff29326a (patch)
treeaf6d3dddf19db8642b0eafc9f6f8a4cc43dc63aa /sbin/fsck_ffs/inode.c
parent1ec712bb646ab6085e9901d632dce850ea410c90 (diff)
downloadsrc-6b100474f7c528056b7c9320de2f8e6eff29326a.tar.gz
src-6b100474f7c528056b7c9320de2f8e6eff29326a.zip
Cosmetic and documentation changes brought from earlier FreeBSD versions.
(e.g. RCS Id:)
Notes
Notes: svn path=/head/; revision=41477
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 a54f2ce3d265..5a8acd289752 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++;