Source-Changes-HG archive

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

[src/netbsd-3]: src/sys/ufs/ffs Pull up revision 1.30 (requested by is in tic...



details:   https://anonhg.NetBSD.org/src/rev/9359fb74ac85
branches:  netbsd-3
changeset: 575986:9359fb74ac85
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Jun 02 20:43:11 2005 +0000

description:
Pull up revision 1.30 (requested by is in ticket #385):
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 6c987c90122e -r 9359fb74ac85 sys/ufs/ffs/ffs_bswap.c
--- a/sys/ufs/ffs/ffs_bswap.c   Thu Jun 02 20:41:30 2005 +0000
+++ b/sys/ufs/ffs/ffs_bswap.c   Thu Jun 02 20:43:11 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.29.2.1 2005/06/02 20:43:11 tron 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.29.2.1 2005/06/02 20:43:11 tron 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