summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/scon/scon.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt/scon/scon.c')
-rw-r--r--usr.sbin/pcvt/scon/scon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pcvt/scon/scon.c b/usr.sbin/pcvt/scon/scon.c
index 0cb053b..d42d5c4 100644
--- a/usr.sbin/pcvt/scon/scon.c
+++ b/usr.sbin/pcvt/scon/scon.c
@@ -196,7 +196,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)
{
OpenPOWER on IntegriCloud