summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate/code/locate.code.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/locate/code/locate.code.c')
-rw-r--r--usr.bin/locate/code/locate.code.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/locate/code/locate.code.c b/usr.bin/locate/code/locate.code.c
index 2a87716..47d2059 100644
--- a/usr.bin/locate/code/locate.code.c
+++ b/usr.bin/locate/code/locate.code.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: locate.code.c,v 1.9 1997/02/22 19:55:43 peter Exp $
*/
#ifndef lint
@@ -132,7 +132,7 @@ main(argc, argv)
FILE *fp;
register int i, j;
- while ((ch = getopt(argc, argv, "")) != EOF)
+ while ((ch = getopt(argc, argv, "")) != -1)
switch(ch) {
default:
usage();
OpenPOWER on IntegriCloud