Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsck_ffs Whoops; call propagate() with the right child ...



details:   https://anonhg.NetBSD.org/src/rev/4111340fc4cc
branches:  trunk
changeset: 502000:4111340fc4cc
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed Jan 10 08:26:20 2001 +0000

description:
Whoops; call propagate() with the right child inode number.  (Doesn't break
anything, but it would have made reconnect less efficient.)

diffstat:

 sbin/fsck_ffs/dir.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 14ae3c6b6c8b -r 4111340fc4cc sbin/fsck_ffs/dir.c
--- a/sbin/fsck_ffs/dir.c       Wed Jan 10 08:22:20 2001 +0000
+++ b/sbin/fsck_ffs/dir.c       Wed Jan 10 08:26:20 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dir.c,v 1.30 2001/01/10 08:22:20 mycroft Exp $ */
+/*     $NetBSD: dir.c,v 1.31 2001/01/10 08:26:20 mycroft Exp $ */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)dir.c      8.8 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: dir.c,v 1.30 2001/01/10 08:22:20 mycroft Exp $");
+__RCSID("$NetBSD: dir.c,v 1.31 2001/01/10 08:26:20 mycroft Exp $");
 #endif
 #endif /* not lint */
 
@@ -131,7 +131,7 @@
        inp->i_parentp = pinp;
        inp->i_sibling = pinp->i_child;
        pinp->i_child = inp;
-       propagate(lfdir);
+       propagate(inumber);
 }
 
 /*



Home | Main Index | Thread Index | Old Index