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