summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/Util/set2061/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/isa/pcvt/Util/set2061/main.c')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/set2061/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/set2061/main.c b/sys/arch/i386/isa/pcvt/Util/set2061/main.c
index 03a482d3e3f..a7a020d6e28 100644
--- a/sys/arch/i386/isa/pcvt/Util/set2061/main.c
+++ b/sys/arch/i386/isa/pcvt/Util/set2061/main.c
@@ -63,7 +63,7 @@ char *argv[];
long freq = -1;
int no = -1;
- while( (c = getopt(argc, argv, "f:n:")) != EOF)
+ while( (c = getopt(argc, argv, "f:n:")) != -1)
{
switch(c)
{