summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-04-01 11:32:56 +0000
committerobrien <obrien@FreeBSD.org>2001-04-01 11:32:56 +0000
commite2cf0ccf627d7b31362cd71ee793831ab901f8c5 (patch)
treef92fa4c649712541f0be0c0bd23914d87a22f5a1 /lib/libdisk
parenta47898d0191610c7bf1668e8b991aa924173d404 (diff)
downloadFreeBSD-src-e2cf0ccf627d7b31362cd71ee793831ab901f8c5.zip
FreeBSD-src-e2cf0ccf627d7b31362cd71ee793831ab901f8c5.tar.gz
Add back <err.h> for warn().
(of course it's pretty stupid to call it, as printf doesn't work w/in sysinstall, and sysinstall is the only consumer of libdisk)
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 45f117e..1c36346 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -15,6 +15,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
+#include <err.h>
#include <sys/sysctl.h>
#include <sys/types.h>
#include <sys/stat.h>
OpenPOWER on IntegriCloud