diff options
Diffstat (limited to 'usr.bin/cksum')
-rw-r--r-- | usr.bin/cksum/cksum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/cksum/cksum.c b/usr.bin/cksum/cksum.c index 3e66ca5..7951d9f 100644 --- a/usr.bin/cksum/cksum.c +++ b/usr.bin/cksum/cksum.c @@ -70,7 +70,7 @@ main(argc, argv) cfncn = crc; pfncn = pcrc; - while ((ch = getopt(argc, argv, "o:")) != EOF) + while ((ch = getopt(argc, argv, "o:")) != -1) switch(ch) { case 'o': if (*optarg == '1') { |