=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/touch/touch.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/touch/touch.c 1996/06/26 05:41:45 1.2 +++ src/usr.bin/touch/touch.c 1997/01/15 23:43:22 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: touch.c,v 1.2 1996/06/26 05:41:45 deraadt Exp $ */ +/* $OpenBSD: touch.c,v 1.3 1997/01/15 23:43:22 millert Exp $ */ /* $NetBSD: touch.c,v 1.11 1995/08/31 22:10:06 jtc Exp $ */ /* @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)touch.c 8.2 (Berkeley) 4/28/95"; #endif -static char rcsid[] = "$OpenBSD: touch.c,v 1.2 1996/06/26 05:41:45 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: touch.c,v 1.3 1997/01/15 23:43:22 millert Exp $"; #endif /* not lint */ #include @@ -83,7 +83,7 @@ if (gettimeofday(&tv[0], NULL)) err(1, "gettimeofday"); - while ((ch = getopt(argc, argv, "acfmr:t:")) != EOF) + while ((ch = getopt(argc, argv, "acfmr:t:")) != -1) switch(ch) { case 'a': aflag = 1;