summaryrefslogtreecommitdiff
path: root/usr.bin/colrm/colrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/colrm/colrm.c')
-rw-r--r--usr.bin/colrm/colrm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/colrm/colrm.c b/usr.bin/colrm/colrm.c
index 540eda01408..0c164a7d57c 100644
--- a/usr.bin/colrm/colrm.c
+++ b/usr.bin/colrm/colrm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: colrm.c,v 1.2 1996/06/26 05:32:14 deraadt Exp $ */
+/* $OpenBSD: colrm.c,v 1.3 1997/01/15 23:42:21 millert Exp $ */
/* $NetBSD: colrm.c,v 1.4 1995/09/02 05:51:37 jtc Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)colrm.c 8.2 (Berkeley) 5/4/95";
#endif
-static char rcsid[] = "$OpenBSD: colrm.c,v 1.2 1996/06/26 05:32:14 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: colrm.c,v 1.3 1997/01/15 23:42:21 millert Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -71,7 +71,7 @@ main(argc, argv)
register int ch;
char *p;
- while ((ch = getopt(argc, argv, "")) != EOF)
+ while ((ch = getopt(argc, argv, "")) != -1)
switch(ch) {
case '?':
default: