summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/info/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/info/main.c')
-rw-r--r--usr.sbin/pkg_install/info/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/info/main.c b/usr.sbin/pkg_install/info/main.c
index f2b0edeb483..1c2cb187869 100644
--- a/usr.sbin/pkg_install/info/main.c
+++ b/usr.sbin/pkg_install/info/main.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: main.c,v 1.2 1996/06/04 08:43:39 niklas Exp $ */
+/* $OpenBSD: main.c,v 1.3 1997/01/15 23:44:11 millert Exp $ */
#ifndef lint
-static char *rcsid = "$OpenBSD: main.c,v 1.2 1996/06/04 08:43:39 niklas Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.3 1997/01/15 23:44:11 millert Exp $";
#endif
/*
@@ -45,7 +45,7 @@ main(int argc, char **argv)
char *prog_name = argv[0];
pkgs = start = argv;
- while ((ch = getopt(argc, argv, Options)) != EOF)
+ while ((ch = getopt(argc, argv, Options)) != -1)
switch(ch) {
case 'a':
AllInstalled = TRUE;