=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/uniq/uniq.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/uniq/uniq.c 1996/06/26 05:42:13 1.2 +++ src/usr.bin/uniq/uniq.c 1997/01/15 23:43:28 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: uniq.c,v 1.2 1996/06/26 05:42:13 deraadt Exp $ */ +/* $OpenBSD: uniq.c,v 1.3 1997/01/15 23:43:28 millert Exp $ */ /* $NetBSD: uniq.c,v 1.7 1995/08/31 22:03:48 jtc Exp $ */ /* @@ -47,7 +47,7 @@ #if 0 static char sccsid[] = "@(#)uniq.c 8.3 (Berkeley) 5/4/95"; #endif -static char rcsid[] = "$OpenBSD: uniq.c,v 1.2 1996/06/26 05:42:13 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: uniq.c,v 1.3 1997/01/15 23:43:28 millert Exp $"; #endif /* not lint */ #include @@ -80,7 +80,7 @@ char *prevline, *thisline, *p; obsolete(argv); - while ((ch = getopt(argc, argv, "-cdf:s:u")) != EOF) + while ((ch = getopt(argc, argv, "-cdf:s:u")) != -1) switch (ch) { case '-': --optind;