diff options
Diffstat (limited to 'usr.bin/tee/tee.c')
-rw-r--r-- | usr.bin/tee/tee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tee/tee.c b/usr.bin/tee/tee.c index ad1110a..1008973 100644 --- a/usr.bin/tee/tee.c +++ b/usr.bin/tee/tee.c @@ -74,7 +74,7 @@ main(argc, argv) #define BSIZE (8 * 1024) append = 0; - while ((ch = getopt(argc, argv, "ai")) != EOF) + while ((ch = getopt(argc, argv, "ai")) != -1) switch((char)ch) { case 'a': append = 1; |