aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-11-18 03:37:45 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-11-18 03:37:45 +0000
commit14b94d046416ce50711df3d7e171d885d62b50b7 (patch)
treecf6c5ca3d7cba461ac016227f150672d9df97f85 /usr.sbin/sysctl/sysctl.c
parent6245570f67c16abf0bed8e6e0478fc2d9c9c2430 (diff)
Notes
Diffstat (limited to 'usr.sbin/sysctl/sysctl.c')
-rw-r--r--usr.sbin/sysctl/sysctl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/sysctl/sysctl.c b/usr.sbin/sysctl/sysctl.c
index ef0996aa26f4..47c82bf10015 100644
--- a/usr.sbin/sysctl/sysctl.c
+++ b/usr.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);