summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorchris <chris@FreeBSD.org>1999-12-21 06:29:00 +0000
committerchris <chris@FreeBSD.org>1999-12-21 06:29:00 +0000
commit220d3c3bf11ba5fdff20ba3c811021b14eff84f0 (patch)
treead2834097f577e0d2015bc0e688ea3e320121437 /sys/fs
parent90b4d2da64542d74102020f958fb8a30f021f959 (diff)
downloadFreeBSD-src-220d3c3bf11ba5fdff20ba3c811021b14eff84f0.zip
FreeBSD-src-220d3c3bf11ba5fdff20ba3c811021b14eff84f0.tar.gz
Fix a typo that was doing something kind of silly, and that is initializing
the creation time for files to the uninitialized value: vap->va_ctime = vap->va_ctime; Changed to what was intended, assigning it to the modification time (thus making all three values of access time, modification time and creation time the same thing). Reviewed by: grog
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/portalfs/portal_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c
index f158ead..d4146da 100644
--- a/sys/fs/portalfs/portal_vnops.c
+++ b/sys/fs/portalfs/portal_vnops.c
@@ -453,7 +453,7 @@ portal_getattr(ap)
vap->va_blocksize = DEV_BSIZE;
nanotime(&vap->va_atime);
vap->va_mtime = vap->va_atime;
- vap->va_ctime = vap->va_ctime;
+ vap->va_ctime = vap->va_mtime;
vap->va_gen = 0;
vap->va_flags = 0;
vap->va_rdev = 0;
OpenPOWER on IntegriCloud