summaryrefslogtreecommitdiffstats
path: root/sbin/vinum
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-10-15 01:32:48 +0000
committergrog <grog@FreeBSD.org>2001-10-15 01:32:48 +0000
commitac6e021d88f3585a46d8efef267b25150f16bca8 (patch)
treef84c0450c205d1d84b096c4f868c6580fa827950 /sbin/vinum
parent88040c24040129660b24899d61d8b139b3dfc4b0 (diff)
downloadFreeBSD-src-ac6e021d88f3585a46d8efef267b25150f16bca8.zip
FreeBSD-src-ac6e021d88f3585a46d8efef267b25150f16bca8.tar.gz
Reinstate VINUMDEBUG. Removing it also removes some diagnostic commands.
I should reconsider whether I just leave them in without #ifdef VINUMDEBUG.
Diffstat (limited to 'sbin/vinum')
-rw-r--r--sbin/vinum/Makefile2
-rw-r--r--sbin/vinum/vext.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sbin/vinum/Makefile b/sbin/vinum/Makefile
index d54fed2..ce9987c 100644
--- a/sbin/vinum/Makefile
+++ b/sbin/vinum/Makefile
@@ -4,7 +4,7 @@ PROG= vinum
SRCS= v.c list.c vinumparser.c vinumutil.c vext.h commands.c
MAN= vinum.8
-CFLAGS+= -I${.CURDIR}/../../sys -Wall
+CFLAGS+= -I${.CURDIR}/../../sys -Wall -DVINUMDEBUG
DPADD= ${LIBREADLINE} ${LIBTERMCAP} ${LIBDEVSTAT} ${LIBKVM}
LDADD= -lreadline -ltermcap -ldevstat -lkvm
diff --git a/sbin/vinum/vext.h b/sbin/vinum/vext.h
index b9ca205..bb9d17b 100644
--- a/sbin/vinum/vext.h
+++ b/sbin/vinum/vext.h
@@ -43,7 +43,6 @@
#define PLEXINITSIZE 65536 /* init in this size chunks */
#define MAXPLEXINITSIZE 65536 /* max chunk size to use for init */
#define MAXDATETEXT 128 /* date text in history (far too much) */
-#define VINUMDEBUG /* for including kernel headers */
enum {
KILOBYTE = 1024,
OpenPOWER on IntegriCloud