diff options
Diffstat (limited to 'db/makedb.c')
-rw-r--r-- | db/makedb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/makedb.c b/db/makedb.c index ebdb9014c8..7ce9548788 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. */ |