=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/unvis/unvis.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/unvis/unvis.c 1996/06/26 05:42:18 1.2 +++ src/usr.bin/unvis/unvis.c 1997/01/15 23:43:29 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: unvis.c,v 1.2 1996/06/26 05:42:18 deraadt Exp $ */ +/* $OpenBSD: unvis.c,v 1.3 1997/01/15 23:43:29 millert Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: unvis.c,v 1.2 1996/06/26 05:42:18 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: unvis.c,v 1.3 1997/01/15 23:43:29 millert Exp $"; #endif /* not lint */ #include @@ -61,7 +61,7 @@ FILE *fp; int ch; - while ((ch = getopt(argc, argv, "")) != EOF) + while ((ch = getopt(argc, argv, "")) != -1) switch((char)ch) { case '?': default: