summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/Util/demo/playvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/isa/pcvt/Util/demo/playvt.c')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/demo/playvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/demo/playvt.c b/sys/arch/i386/isa/pcvt/Util/demo/playvt.c
index d0a391ff6b4..75e1e399260 100644
--- a/sys/arch/i386/isa/pcvt/Util/demo/playvt.c
+++ b/sys/arch/i386/isa/pcvt/Util/demo/playvt.c
@@ -59,7 +59,7 @@ char *argv[];
int fflag = -1;
char *filename;
- while( (c = getopt(argc, argv, "d:f:")) != EOF)
+ while( (c = getopt(argc, argv, "d:f:")) != -1)
{
switch(c)
{