summaryrefslogtreecommitdiff
path: root/usr.sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysctl/sysctl.c')
-rw-r--r--usr.sbin/sysctl/sysctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/sysctl/sysctl.c b/usr.sbin/sysctl/sysctl.c
index 2e1dae8cdd2..31d20e682b4 100644
--- a/usr.sbin/sysctl/sysctl.c
+++ b/usr.sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.23 1997/08/28 19:39:20 mickey Exp $ */
+/* $OpenBSD: sysctl.c,v 1.24 1997/08/29 02:40:40 mickey Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)sysctl.c 8.1 (Berkeley) 6/6/93";
#else
-static char *rcsid = "$OpenBSD: sysctl.c,v 1.23 1997/08/28 19:39:20 mickey Exp $";
+static char *rcsid = "$OpenBSD: sysctl.c,v 1.24 1997/08/29 02:40:40 mickey Exp $";
#endif
#endif /* not lint */
@@ -495,6 +495,7 @@ parse(string, flags)
(void)printf("0x%x\n", dev);
return;
}
+#ifdef CPU_BIOSGEOMETRY
if (special & BIOSGEO) {
int geo = *(int *)buf;
@@ -504,6 +505,7 @@ parse(string, flags)
BIOSNSECTS(geo), BIOSNHEADS(geo));
return;
}
+#endif
if (special & BIOSDEV) {
int dev = *(int*)buf;