Source-Changes-HG archive

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

[src/netbsd-3]: src/sbin/fsck_ffs Pull up revision 1.37 (requested by christo...



details:   https://anonhg.NetBSD.org/src/rev/599d4eaa248b
branches:  netbsd-3
changeset: 575639:599d4eaa248b
user:      tron <tron%NetBSD.org@localhost>
date:      Sun May 01 11:07:10 2005 +0000

description:
Pull up revision 1.37 (requested by christos in ticket #228):
Dammit, get rid of the debugging abort() calls. It is no fun to have a broken
fsck program on a busted filesystem.

diffstat:

 sbin/fsck_ffs/pass1.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 57f26257e5c3 -r 599d4eaa248b sbin/fsck_ffs/pass1.c
--- a/sbin/fsck_ffs/pass1.c     Sun May 01 11:05:06 2005 +0000
+++ b/sbin/fsck_ffs/pass1.c     Sun May 01 11:07:10 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pass1.c,v 1.36 2005/01/20 15:29:40 xtraeme Exp $       */
+/*     $NetBSD: pass1.c,v 1.36.2.1 2005/05/01 11:07:10 tron Exp $      */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)pass1.c    8.6 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: pass1.c,v 1.36 2005/01/20 15:29:40 xtraeme Exp $");
+__RCSID("$NetBSD: pass1.c,v 1.36.2.1 2005/05/01 11:07:10 tron Exp $");
 #endif
 #endif /* not lint */
 
@@ -152,7 +152,7 @@
                if (info == NULL) {
                        pfatal("cannot alloc %u bytes for inoinfo\n",
                            (unsigned)(sizeof(struct inostat) * inosused));
-                       abort();
+                       exit(EEXIT);
                }
                inostathead[c].il_stat = info;
                /*
@@ -188,7 +188,7 @@
                if (info == NULL) {
                        pfatal("cannot alloc %u bytes for inoinfo\n",
                            (unsigned)(sizeof(struct inostat) * inosused));
-                       abort();
+                       exit(EEXIT);
                }
                memmove(info, inostathead[c].il_stat, inosused * sizeof(*info));
                free(inostathead[c].il_stat);



Home | Main Index | Thread Index | Old Index