diff options
Diffstat (limited to 'usr.bin/tcopy')
-rw-r--r-- | usr.bin/tcopy/tcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tcopy/tcopy.c b/usr.bin/tcopy/tcopy.c index dea204c..3508372 100644 --- a/usr.bin/tcopy/tcopy.c +++ b/usr.bin/tcopy/tcopy.c @@ -81,7 +81,7 @@ main(argc, argv) char *buff, *inf; guesslen = 1; - while ((ch = getopt(argc, argv, "cs:vx")) != EOF) + while ((ch = getopt(argc, argv, "cs:vx")) != -1) switch((char)ch) { case 'c': op = COPYVERIFY; |