summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/Util/kcon/kcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/isa/pcvt/Util/kcon/kcon.c')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/kcon/kcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/kcon/kcon.c b/sys/arch/i386/isa/pcvt/Util/kcon/kcon.c
index ba2b21334ef..4db3d93a4b4 100644
--- a/sys/arch/i386/isa/pcvt/Util/kcon/kcon.c
+++ b/sys/arch/i386/isa/pcvt/Util/kcon/kcon.c
@@ -109,7 +109,7 @@ char *argv[];
char *map = NULL;
int kbfd;
- while((c = getopt(argc, argv, "Rd:lm:opr:st:x")) != EOF)
+ while((c = getopt(argc, argv, "Rd:lm:opr:st:x")) != -1)
{
switch(c)
{