summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/Util/loadfont/loadfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/isa/pcvt/Util/loadfont/loadfont.c')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/loadfont/loadfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/loadfont/loadfont.c b/sys/arch/i386/isa/pcvt/Util/loadfont/loadfont.c
index 3c10e5c8003..3639e790178 100644
--- a/sys/arch/i386/isa/pcvt/Util/loadfont/loadfont.c
+++ b/sys/arch/i386/isa/pcvt/Util/loadfont/loadfont.c
@@ -95,7 +95,7 @@ main(int argc, char **argv)
int dflag = 0;
char *device = NULL;
- while( (c = getopt(argc, argv, "c:d:f:is:")) != EOF)
+ while( (c = getopt(argc, argv, "c:d:f:is:")) != -1)
{
switch(c)
{