summaryrefslogtreecommitdiff
path: root/sbin/sysctl
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-22 22:14:40 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-22 22:14:40 +0000
commit634013aca225036290bc60d65b51216d8b7df110 (patch)
treefd372bb2c4c4ef66a1894204e603f950c98bce84 /sbin/sysctl
parent61743c58964571cb0d457ed6153b536da8f52925 (diff)
more arguments than format
Diffstat (limited to 'sbin/sysctl')
-rw-r--r--sbin/sysctl/sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index 08b6464115b..d9ac1c7bd18 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.69 2001/06/22 21:39:07 mickey Exp $ */
+/* $OpenBSD: sysctl.c,v 1.70 2001/06/22 22:14:39 art 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.5 (Berkeley) 5/9/95";
#else
-static char *rcsid = "$OpenBSD: sysctl.c,v 1.69 2001/06/22 21:39:07 mickey Exp $";
+static char *rcsid = "$OpenBSD: sysctl.c,v 1.70 2001/06/22 22:14:39 art Exp $";
#endif
#endif /* not lint */
@@ -804,7 +804,7 @@ parse(string, flags)
if (special & LONGARRAY) {
long *la = (long *)buf;
if (!nflag)
- printf("%s = ", string, lal);
+ printf("%s = ", string);
while (lal--)
printf("%ld%s", *la++, lal? ",":"");
putchar('\n');