summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-11-18 03:39:10 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-11-18 03:39:10 +0000
commit4d0f48d3138d430bb30a1b9d6d7fa752aa6cbebc (patch)
treecc52c489d9c9492cf3814017818b478ab77b2a27
parent553426e83b036b5eac7c096d7b8eb365095f60bc (diff)
Notes
-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 ffebbdf99ed89..19a9ac2c99cf2 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.10.2.2 1997/11/07 07:27:12 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);