summaryrefslogtreecommitdiff
path: root/usr.bin/info_mkdb/info_mkdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/info_mkdb/info_mkdb.c')
-rw-r--r--usr.bin/info_mkdb/info_mkdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/info_mkdb/info_mkdb.c b/usr.bin/info_mkdb/info_mkdb.c
index cad011e300e..023dad80415 100644
--- a/usr.bin/info_mkdb/info_mkdb.c
+++ b/usr.bin/info_mkdb/info_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: info_mkdb.c,v 1.1 1996/07/22 03:16:31 tholo Exp $ */
+/* $OpenBSD: info_mkdb.c,v 1.2 1997/01/15 23:42:36 millert Exp $ */
/*-
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,7 +31,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: info_mkdb.c,v 1.1 1996/07/22 03:16:31 tholo Exp $";
+static char rcsid[] = "$OpenBSD: info_mkdb.c,v 1.2 1997/01/15 23:42:36 millert Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -82,7 +82,7 @@ main(argc, argv)
int c;
infoname = NULL;
- while ((c = getopt(argc, argv, "f:v")) != EOF) {
+ while ((c = getopt(argc, argv, "f:v")) != -1) {
switch(c) {
case 'f':
infoname = optarg;