aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/uudecode/uudecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/uudecode/uudecode.c')
-rw-r--r--usr.bin/uudecode/uudecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c
index ebe283227610..1667e01561c5 100644
--- a/usr.bin/uudecode/uudecode.c
+++ b/usr.bin/uudecode/uudecode.c
@@ -73,7 +73,7 @@ main(argc, argv)
extern int errno;
int rval, ch;
- while ((ch = getopt(argc, argv, "cp")) != EOF) {
+ while ((ch = getopt(argc, argv, "cp")) != -1) {
switch(ch) {
case 'c':
cflag = 1; /* multiple uudecode'd files */