summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fmt.c')
-rw-r--r--src/fmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt.c b/src/fmt.c
index b8de7574f..383088072 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -353,7 +353,7 @@ main (register int argc, register char **argv)
while ((optchar = getopt_long (argc, argv, "0123456789cstuw:p:",
long_options, NULL))
- != EOF)
+ != -1)
switch (optchar)
{
default: