Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/dump Swap the right disk block in mapdirs() for the UFS...
details: https://anonhg.NetBSD.org/src/rev/16a8d3fbbe8e
branches: trunk
changeset: 546541:16a8d3fbbe8e
user: fvdl <fvdl%NetBSD.org@localhost>
date: Thu May 01 10:59:20 2003 +0000
description:
Swap the right disk block in mapdirs() for the UFS1 case. From Enami.
diffstat:
sbin/dump/traverse.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8939067fb126 -r 16a8d3fbbe8e sbin/dump/traverse.c
--- a/sbin/dump/traverse.c Thu May 01 10:43:58 2003 +0000
+++ b/sbin/dump/traverse.c Thu May 01 10:59:20 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: traverse.c,v 1.39 2003/04/08 10:02:23 fvdl Exp $ */
+/* $NetBSD: traverse.c,v 1.40 2003/05/01 10:59:20 fvdl Exp $ */
/*-
* Copyright (c) 1980, 1988, 1991, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)traverse.c 8.7 (Berkeley) 6/15/95";
#else
-__RCSID("$NetBSD: traverse.c,v 1.39 2003/04/08 10:02:23 fvdl Exp $");
+__RCSID("$NetBSD: traverse.c,v 1.40 2003/05/01 10:59:20 fvdl Exp $");
#endif
#endif /* not lint */
@@ -322,7 +322,7 @@
if (is_ufs2)
blk = iswap64(di.dp2.di_ib[i]);
else
- blk = iswap32(di.dp2.di_ib[i]);
+ blk = iswap32(di.dp1.di_ib[i]);
if (blk == 0)
continue;
ret |= dirindir(ino, blk, i, &filesize,
Home |
Main Index |
Thread Index |
Old Index