summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/ispcvt/ispcvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt/ispcvt/ispcvt.c')
-rw-r--r--usr.sbin/pcvt/ispcvt/ispcvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pcvt/ispcvt/ispcvt.c b/usr.sbin/pcvt/ispcvt/ispcvt.c
index 3e86b90..813e9dd 100644
--- a/usr.sbin/pcvt/ispcvt/ispcvt.c
+++ b/usr.sbin/pcvt/ispcvt/ispcvt.c
@@ -76,7 +76,7 @@ char *argv[];
int fd;
char *device;
- while( (c = getopt(argc, argv, "vcd:")) != EOF)
+ while( (c = getopt(argc, argv, "vcd:")) != -1)
{
switch(c)
{
OpenPOWER on IntegriCloud