summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/kcon/kcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt/kcon/kcon.c')
-rw-r--r--usr.sbin/pcvt/kcon/kcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pcvt/kcon/kcon.c b/usr.sbin/pcvt/kcon/kcon.c
index 259af90..1f9cded 100644
--- a/usr.sbin/pcvt/kcon/kcon.c
+++ b/usr.sbin/pcvt/kcon/kcon.c
@@ -95,7 +95,7 @@ char *argv[];
char *map;
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)
{
OpenPOWER on IntegriCloud