summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-01-11 22:19:19 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-01-11 22:19:19 +0000
commit10b993205da2ae921590892686872b5bc3aa4825 (patch)
treec1bc59619a40da25c11aa37ac7a34b7ddc5115de /sbin/sysctl/sysctl.c
parent574ef3084120df4771d3e364f907ed1831079c2e (diff)
Trivial changes to pass through -Wall
ok millert@
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-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 6d4cf683078..0f4b9f9f429 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.c,v 1.104 2004/01/11 21:56:31 deraadt Exp $ */
+/* $OpenBSD: sysctl.c,v 1.105 2004/01/11 22:19:18 grange Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
@@ -40,7 +40,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95";
#else
-static char *rcsid = "$OpenBSD: sysctl.c,v 1.104 2004/01/11 21:56:31 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.105 2004/01/11 22:19:18 grange Exp $";
#endif
#endif /* not lint */
@@ -2091,7 +2091,7 @@ emul_init(void)
size_t len;
if (done)
- return;
+ return (0);
done = 1;
mib[0] = CTL_KERN;