Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ffs fix copy/paste/don'tupdate bug (fix from PR 2223...



details:   https://anonhg.NetBSD.org/src/rev/3660837bbf6d
branches:  trunk
changeset: 581524:3660837bbf6d
user:      is <is%NetBSD.org@localhost>
date:      Thu Jun 02 10:08:36 2005 +0000

description:
fix copy/paste/don'tupdate bug (fix from PR 22232 by Robert Elz).

diffstat:

 sys/ufs/ffs/ffs_bswap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r be86c97bc25b -r 3660837bbf6d sys/ufs/ffs/ffs_bswap.c
--- a/sys/ufs/ffs/ffs_bswap.c   Thu Jun 02 09:58:55 2005 +0000
+++ b/sys/ufs/ffs/ffs_bswap.c   Thu Jun 02 10:08:36 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_bswap.c,v 1.29 2005/02/26 22:32:20 perry Exp $     */
+/*     $NetBSD: ffs_bswap.c,v 1.30 2005/06/02 10:08:36 is Exp $        */
 
 /*
  * Copyright (c) 1998 Manuel Bouyer.
@@ -35,7 +35,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_bswap.c,v 1.29 2005/02/26 22:32:20 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_bswap.c,v 1.30 2005/06/02 10:08:36 is Exp $");
 
 #include <sys/param.h>
 #if defined(_KERNEL)
@@ -152,8 +152,8 @@
        n->di_mtimensec = bswap32(o->di_mtimensec);
        n->di_ctime = bswap64(o->di_ctime);
        n->di_ctimensec = bswap32(o->di_ctimensec);
-       n->di_birthtime = bswap64(o->di_ctime);
-       n->di_birthnsec = bswap32(o->di_ctimensec);
+       n->di_birthtime = bswap64(o->di_birthtime);
+       n->di_birthnsec = bswap32(o->di_birthnsec);
        n->di_gen = bswap32(o->di_gen);
        n->di_kernflags = bswap32(o->di_kernflags);
        n->di_flags = bswap32(o->di_flags);



Home | Main Index | Thread Index | Old Index