summaryrefslogtreecommitdiff
path: root/usr.sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-08-29 05:16:14 +0000
committerWarner Losh <imp@FreeBSD.org>1997-08-29 05:16:14 +0000
commit4a796f06acb443b965b3c5681305648088812d9c (patch)
tree3255e643e868c20e4e550e3fcd9661ec7635863b /usr.sbin/sysctl/sysctl.c
parent0bcbf149b45cbe3c64939c48fe8210cb5209cea6 (diff)
Notes
Diffstat (limited to 'usr.sbin/sysctl/sysctl.c')
-rw-r--r--usr.sbin/sysctl/sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysctl/sysctl.c b/usr.sbin/sysctl/sysctl.c
index 373d42e36640..b1cdc11d05ca 100644
--- a/usr.sbin/sysctl/sysctl.c
+++ b/usr.sbin/sysctl/sysctl.c
@@ -40,7 +40,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "From: @(#)sysctl.c 8.1 (Berkeley) 6/6/93"; */
static const char rcsid[] =
- "$Id: sysctl.c,v 1.9 1995/12/21 12:39:25 phk Exp $";
+ "$Id: sysctl.c,v 1.10 1996/04/10 00:53:22 smpatel Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -85,7 +85,7 @@ main(int argc, char **argv)
setbuf(stdout,0);
setbuf(stderr,0);
- while ((ch = getopt(argc, argv, "AabnwX")) != EOF) {
+ while ((ch = getopt(argc, argv, "AabnwX")) != -1) {
switch (ch) {
case 'A': Aflag = 1; break;
case 'a': aflag = 1; break;