summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-19 07:36:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-19 07:36:12 +0000
commit627eddf8e4cff77c2e601a125aed63c9f24b856f (patch)
tree177f88472d07d85574bf684304e79f405ae91b3a /sbin
parent7f03c6ce674c401f993f300147c4bd9d80c84be4 (diff)
fix type botches
Diffstat (limited to 'sbin')
-rw-r--r--sbin/sysctl/sysctl.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index ff51703e714..5e90bd52e91 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.34 1998/03/15 17:48:48 millert Exp $ */
+/* $OpenBSD: sysctl.c,v 1.35 1998/03/19 07:36:11 deraadt 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.34 1998/03/15 17:48:48 millert Exp $";
+static char *rcsid = "$OpenBSD: sysctl.c,v 1.35 1998/03/19 07:36:11 deraadt Exp $";
#endif
#endif /* not lint */
@@ -241,11 +241,10 @@ parse(string, flags)
char *string;
int flags;
{
- int indx, type, state, len;
- size_t size;
+ int indx, type, state, intval;
+ size_t size, len, newsize = 0;
int special = 0;
void *newval = 0;
- int intval, newsize = 0;
quad_t quadval;
struct list *lp;
struct vfsconf vfc;