diff options
Diffstat (limited to 'usr.bin/uname/uname.c')
-rw-r--r-- | usr.bin/uname/uname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/uname/uname.c b/usr.bin/uname/uname.c index 86b5dce..1245560 100644 --- a/usr.bin/uname/uname.c +++ b/usr.bin/uname/uname.c @@ -67,7 +67,7 @@ main(argc, argv) char *p, *prefix, buf[1024]; flags = 0; - while ((ch = getopt(argc, argv, "amnrsv")) != EOF) + while ((ch = getopt(argc, argv, "amnrsv")) != -1) switch(ch) { case 'a': flags |= (MFLAG | NFLAG | RFLAG | SFLAG | VFLAG); |