summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail/main.c')
-rw-r--r--usr.bin/mail/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c
index 6a01754..d6499bb 100644
--- a/usr.bin/mail/main.c
+++ b/usr.bin/mail/main.c
@@ -90,7 +90,7 @@ main(argc, argv)
bcc = NIL;
smopts = NIL;
subject = NOSTR;
- while ((i = getopt(argc, argv, "INT:b:c:dfins:u:v")) != EOF) {
+ while ((i = getopt(argc, argv, "INT:b:c:dfins:u:v")) != -1) {
switch (i) {
case 'T':
/*
OpenPOWER on IntegriCloud