summaryrefslogtreecommitdiff
path: root/usr.bin/cap_mkdb/cap_mkdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cap_mkdb/cap_mkdb.c')
-rw-r--r--usr.bin/cap_mkdb/cap_mkdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cap_mkdb/cap_mkdb.c b/usr.bin/cap_mkdb/cap_mkdb.c
index a1789a5a822..ed340c9b3e2 100644
--- a/usr.bin/cap_mkdb/cap_mkdb.c
+++ b/usr.bin/cap_mkdb/cap_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cap_mkdb.c,v 1.2 1996/06/26 05:31:48 deraadt Exp $ */
+/* $OpenBSD: cap_mkdb.c,v 1.3 1997/01/15 23:42:17 millert Exp $ */
/* $NetBSD: cap_mkdb.c,v 1.5 1995/09/02 05:47:12 jtc Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)cap_mkdb.c 8.2 (Berkeley) 4/27/95";
#endif
-static char rcsid[] = "$OpenBSD: cap_mkdb.c,v 1.2 1996/06/26 05:31:48 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: cap_mkdb.c,v 1.3 1997/01/15 23:42:17 millert Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -92,7 +92,7 @@ main(argc, argv)
int c;
capname = NULL;
- while ((c = getopt(argc, argv, "f:v")) != EOF) {
+ while ((c = getopt(argc, argv, "f:v")) != -1) {
switch(c) {
case 'f':
capname = optarg;