summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/Util/scon/scon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/isa/pcvt/Util/scon/scon.c')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/scon/scon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/scon/scon.c b/sys/arch/i386/isa/pcvt/Util/scon/scon.c
index 53776168b54..edf9ea2fb08 100644
--- a/sys/arch/i386/isa/pcvt/Util/scon/scon.c
+++ b/sys/arch/i386/isa/pcvt/Util/scon/scon.c
@@ -204,7 +204,7 @@ char *argv[];
int c;
int fd;
- while( (c = getopt(argc, argv, "ac:d:f:HVlms:t:vp:18")) != EOF)
+ while( (c = getopt(argc, argv, "ac:d:f:HVlms:t:vp:18")) != -1)
{
switch(c)
{