summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/rules.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-03-18 21:30:11 +0000
committerobrien <obrien@FreeBSD.org>2001-03-18 21:30:11 +0000
commit981727ddcf88331bb90ab6e04eb90eb45c5f5314 (patch)
tree6f19e1a756fa276db4c8bf3e3a32f6cdd5215541 /lib/libdisk/rules.c
parent68ae8502935dde5a352a4351e99bb281e64be0b5 (diff)
downloadFreeBSD-src-981727ddcf88331bb90ab6e04eb90eb45c5f5314.zip
FreeBSD-src-981727ddcf88331bb90ab6e04eb90eb45c5f5314.tar.gz
Libraries should _never_ call exit() themselves (or its alternate spelling
`err()'). libdisk does! and additionally libdisk gets confused on Alpha disks with foreign disklabels, throws up its hands and exits. This is the cause of the "going no where without my init" install bug on the Alpha. So now on the Alpha, rather than call err(), we print the error string and continue processing. Submitted by: jkh
Diffstat (limited to 'lib/libdisk/rules.c')
-rw-r--r--lib/libdisk/rules.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libdisk/rules.c b/lib/libdisk/rules.c
index 7319338..0dc26f7 100644
--- a/lib/libdisk/rules.c
+++ b/lib/libdisk/rules.c
@@ -17,7 +17,6 @@
#include <sys/types.h>
#include <sys/diskslice.h>
#include <sys/disklabel.h>
-#include <err.h>
#include "libdisk.h"
int
OpenPOWER on IntegriCloud