summaryrefslogtreecommitdiff
path: root/usr.sbin/fdcontrol
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-03-31 05:11:47 +0000
committerWarner Losh <imp@FreeBSD.org>1997-03-31 05:11:47 +0000
commit6c3f552a31dd0a0c8c59a028fd9bc507d43ec5cc (patch)
tree9dcc58d3fb5e1644413565971c98196650ef87d3 /usr.sbin/fdcontrol
parent44ee97a91b095311b8703857d54df336354236a0 (diff)
Notes
Diffstat (limited to 'usr.sbin/fdcontrol')
-rw-r--r--usr.sbin/fdcontrol/fdcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/fdcontrol/fdcontrol.c b/usr.sbin/fdcontrol/fdcontrol.c
index d621a7216b18..d93d4a0530ab 100644
--- a/usr.sbin/fdcontrol/fdcontrol.c
+++ b/usr.sbin/fdcontrol/fdcontrol.c
@@ -63,7 +63,7 @@ main(int argc, char **argv)
int fd, i;
int debug = -1, settype = 1;
- while((i = getopt(argc, argv, "d:s")) != EOF)
+ while((i = getopt(argc, argv, "d:s")) != -1)
switch(i)
{
case 'd':