summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-12-11 16:48:13 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-12-11 16:48:13 +0000
commitba0d47c9dcd5ffb679ccf90722de7f5ae195901c (patch)
treef7f9589331690d6173a6bfa4bb32a24f822d3b61 /sys
parent9a7bdcb62995879108d80fa96fc68f3f32462a6e (diff)
Fix typo, noticed by Richard Lowe
Diffstat (limited to 'sys')
-rw-r--r--sys/miscfs/kernfs/kernfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/kernfs/kernfs_vnops.c b/sys/miscfs/kernfs/kernfs_vnops.c
index e5729717d15..e60b69fc3f6 100644
--- a/sys/miscfs/kernfs/kernfs_vnops.c
+++ b/sys/miscfs/kernfs/kernfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kernfs_vnops.c,v 1.23 2001/12/04 22:44:31 art Exp $ */
+/* $OpenBSD: kernfs_vnops.c,v 1.24 2001/12/11 16:48:12 millert Exp $ */
/* $NetBSD: kernfs_vnops.c,v 1.43 1996/03/16 23:52:47 christos Exp $ */
/*
@@ -499,7 +499,7 @@ kernfs_getattr(v)
microtime(&tv);
TIMEVAL_TO_TIMESPEC(&tv, &vap->va_atime);
vap->va_mtime = vap->va_atime;
- vap->va_ctime = vap->va_ctime;
+ vap->va_ctime = vap->va_atime;
vap->va_gen = 0;
vap->va_flags = 0;
vap->va_rdev = 0;