summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-11-18 03:37:45 +0000
committerjdp <jdp@FreeBSD.org>1997-11-18 03:37:45 +0000
commit8a7bf8aff18b3c6495bad5c4937a80b55f807281 (patch)
tree9a354c934572c12c375d70df914ada0a5cf037a1 /sbin
parent49b9936776f264f2e03d2605fd0b1e346ffbc4f0 (diff)
downloadFreeBSD-src-8a7bf8aff18b3c6495bad5c4937a80b55f807281.zip
FreeBSD-src-8a7bf8aff18b3c6495bad5c4937a80b55f807281.tar.gz
Add missing argument detected by "-Wformat".
Diffstat (limited to 'sbin')
-rw-r--r--sbin/sysctl/sysctl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index ef0996a..47c82bf 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)from: sysctl.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: sysctl.c,v 1.15 1997/10/20 12:53:54 charnier Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -179,7 +179,8 @@ parse(char *string)
break;
default:
errx(1, "oid '%s' is type %d,"
- " cannot set that", bufp);
+ " cannot set that", bufp,
+ kind & CTLTYPE);
}
i = show_var(mib, len);
OpenPOWER on IntegriCloud