summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-04-01 10:44:52 +0000
committerobrien <obrien@FreeBSD.org>2001-04-01 10:44:52 +0000
commita5f4cb49703dbb834a174f326b2921cfb9a32240 (patch)
tree412d2fcdaf23ab1abe18c9565881d6b17df39b24 /lib/libdisk
parentde0b98d83b72a213843a794c687e49071e0a1a33 (diff)
downloadFreeBSD-src-a5f4cb49703dbb834a174f326b2921cfb9a32240.zip
FreeBSD-src-a5f4cb49703dbb834a174f326b2921cfb9a32240.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/chunk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libdisk/chunk.c b/lib/libdisk/chunk.c
index a8f3b96..b9d5c4d 100644
--- a/lib/libdisk/chunk.c
+++ b/lib/libdisk/chunk.c
@@ -15,6 +15,7 @@
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
+#include <err.h>
#include "libdisk.h"
#define new_chunk() memset(malloc(sizeof(struct chunk)), 0, sizeof(struct chunk))
OpenPOWER on IntegriCloud