summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/Util/ispcvt/ispcvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/isa/pcvt/Util/ispcvt/ispcvt.c')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/ispcvt/ispcvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/ispcvt/ispcvt.c b/sys/arch/i386/isa/pcvt/Util/ispcvt/ispcvt.c
index 8520c321d9e..64672ffc9eb 100644
--- a/sys/arch/i386/isa/pcvt/Util/ispcvt/ispcvt.c
+++ b/sys/arch/i386/isa/pcvt/Util/ispcvt/ispcvt.c
@@ -85,7 +85,7 @@ char *argv[];
int fd;
char *device = NULL;
- while( (c = getopt(argc, argv, "vcd:")) != EOF)
+ while( (c = getopt(argc, argv, "vcd:")) != -1)
{
switch(c)
{