summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/cursor/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pcvt/cursor/cursor.c')
-rw-r--r--usr.sbin/pcvt/cursor/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pcvt/cursor/cursor.c b/usr.sbin/pcvt/cursor/cursor.c
index 94ce1d7..1c7c140 100644
--- a/usr.sbin/pcvt/cursor/cursor.c
+++ b/usr.sbin/pcvt/cursor/cursor.c
@@ -68,7 +68,7 @@ char *argv[];
int dflag = -1;
char *device;
- while( (c = getopt(argc, argv, "d:n:s:e:")) != EOF)
+ while( (c = getopt(argc, argv, "d:n:s:e:")) != -1)
{
switch(c)
{
OpenPOWER on IntegriCloud