summaryrefslogtreecommitdiffstats
path: root/usr.bin/uuencode/uuencode.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/uuencode/uuencode.c')
-rw-r--r--usr.bin/uuencode/uuencode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/uuencode/uuencode.c b/usr.bin/uuencode/uuencode.c
index 774cee9..8580624 100644
--- a/usr.bin/uuencode/uuencode.c
+++ b/usr.bin/uuencode/uuencode.c
@@ -62,7 +62,7 @@ main(argc, argv)
int mode;
char *strerror();
- while (getopt(argc, argv, "") != EOF)
+ while (getopt(argc, argv, "") != -1)
usage();
argv += optind;
argc -= optind;
OpenPOWER on IntegriCloud