diff options
| author | Warner Losh <imp@FreeBSD.org> | 1997-03-29 04:34:07 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 1997-03-29 04:34:07 +0000 |
| commit | 1c8af8787354e20c2b38cab5801698133ff8b403 (patch) | |
| tree | 678b7641c05ca5dc27c06cac1210b2a7712335a9 /usr.bin/lockf | |
| parent | 8d64695c7c6791641c71b15441665bafc43c2bd0 (diff) | |
Notes
Diffstat (limited to 'usr.bin/lockf')
| -rw-r--r-- | usr.bin/lockf/lockf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lockf/lockf.c b/usr.bin/lockf/lockf.c index 5c6d5cfa0638..8541ce3ff191 100644 --- a/usr.bin/lockf/lockf.c +++ b/usr.bin/lockf/lockf.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: lockf.c,v 1.4 1997/02/22 19:55:54 peter Exp $ */ #include <sys/types.h> @@ -62,7 +62,7 @@ main(int argc, char **argv) silent = 0; waitsec = -1; /* Infinite. */ - while ((ch = getopt(argc, argv, "st:")) != EOF) { + while ((ch = getopt(argc, argv, "st:")) != -1) { switch (ch) { case 's': |
