aboutsummaryrefslogtreecommitdiff
path: root/db/makedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'db/makedb.c')
-rw-r--r--db/makedb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/makedb.c b/db/makedb.c
index ebdb901..7ce9548 100644
--- a/db/makedb.c
+++ b/db/makedb.c
@@ -86,7 +86,7 @@ main (argc, argv)
be_quiet = 0;
output_name = NULL;
- while ((opt = getopt_long (argc, argv, "fho:uV", long_options, NULL)) != EOF)
+ while ((opt = getopt_long (argc, argv, "fho:uV", long_options, NULL)) != -1)
switch (opt)
{
case '\0': /* Long option. */