=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ul/ul.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/ul/ul.c 1996/06/26 05:42:05 1.3 +++ src/usr.bin/ul/ul.c 1997/01/15 23:43:27 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: ul.c,v 1.3 1996/06/26 05:42:05 deraadt Exp $ */ +/* $OpenBSD: ul.c,v 1.4 1997/01/15 23:43:27 millert Exp $ */ /* $NetBSD: ul.c,v 1.3 1994/12/07 00:28:24 jtc Exp $ */ /* @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)ul.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: ul.c,v 1.3 1996/06/26 05:42:05 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ul.c,v 1.4 1997/01/15 23:43:27 millert Exp $"; #endif /* not lint */ #include @@ -100,7 +100,7 @@ termtype = getenv("TERM"); if (termtype == NULL || (argv[0][0] == 'c' && !isatty(1))) termtype = "lpr"; - while ((c=getopt(argc, argv, "it:T:")) != EOF) + while ((c=getopt(argc, argv, "it:T:")) != -1) switch(c) { case 't':