summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-24 21:48:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-24 21:48:16 +0000
commitdfefce54e5abd7edb0a80e74a5875876601cc27a (patch)
tree1c1ae037dafe5d0ef6af0ec2a14bb057206319f0 /sbin/sysctl/sysctl.c
parentd59732c94da3441c35878d4602efc0bb9ecd160c (diff)
it is nice if this compiles on other systems
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r--sbin/sysctl/sysctl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index 057f4b75b14..4341a8efe11 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.120 2005/04/24 18:55:49 uwe Exp $ */
+/* $OpenBSD: sysctl.c,v 1.121 2005/04/24 21:48:15 deraadt Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -40,7 +40,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95";
#else
-static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.120 2005/04/24 18:55:49 uwe Exp $";
+static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.121 2005/04/24 21:48:15 deraadt Exp $";
#endif
#endif /* not lint */
@@ -971,6 +971,7 @@ parse(char *string, int flags)
}
return;
}
+#ifdef CPU_ZTSSCALE
if (special & ZTSSCALE) {
struct ztsscale *tsp;
@@ -995,7 +996,7 @@ parse(char *string, int flags)
}
return;
}
-
+#endif
switch (type) {
case CTLTYPE_INT:
if (newsize == 0) {