Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsck_ffs Fix an annoyingly incorrect message.



details:   https://anonhg.NetBSD.org/src/rev/ca44ca3053cf
branches:  trunk
changeset: 500514:ca44ca3053cf
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed Dec 13 03:04:51 2000 +0000

description:
Fix an annoyingly incorrect message.

diffstat:

 sbin/fsck_ffs/main.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r cd137f2fdf0e -r ca44ca3053cf sbin/fsck_ffs/main.c
--- a/sbin/fsck_ffs/main.c      Wed Dec 13 02:49:22 2000 +0000
+++ b/sbin/fsck_ffs/main.c      Wed Dec 13 03:04:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.34 1999/11/15 19:18:25 fvdl Exp $   */
+/*     $NetBSD: main.c,v 1.35 2000/12/13 03:04:51 mycroft Exp $        */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.6 (Berkeley) 5/14/95";
 #else
-__RCSID("$NetBSD: main.c,v 1.34 1999/11/15 19:18:25 fvdl Exp $");
+__RCSID("$NetBSD: main.c,v 1.35 2000/12/13 03:04:51 mycroft Exp $");
 #endif
 #endif /* not lint */
 
@@ -240,8 +240,10 @@
         * 1b: locate first references to duplicates, if any
         */
        if (duplist) {
-               if (preen || usedsoftdep)
-                       pfatal("INTERNAL ERROR: dups with -p");
+               if (preen)
+                       pfatal("INTERNAL ERROR: dups with -p\n");
+               if (usedsoftdep)
+                       pfatal("INTERNAL ERROR: dups with softdep\n");
                printf("** Phase 1b - Rescan For More DUPS\n");
                pass1b();
        }



Home | Main Index | Thread Index | Old Index