summaryrefslogtreecommitdiff
path: root/usr.sbin/sendmail/mailstats/mailstats.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sendmail/mailstats/mailstats.c')
-rw-r--r--usr.sbin/sendmail/mailstats/mailstats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sendmail/mailstats/mailstats.c b/usr.sbin/sendmail/mailstats/mailstats.c
index 83082bacb75..a003ea00b52 100644
--- a/usr.sbin/sendmail/mailstats/mailstats.c
+++ b/usr.sbin/sendmail/mailstats/mailstats.c
@@ -73,7 +73,7 @@ main(argc, argv)
cfile = _PATH_SENDMAILCF;
sfile = NULL;
mnames = TRUE;
- while ((ch = getopt(argc, argv, "C:f:o")) != EOF)
+ while ((ch = getopt(argc, argv, "C:f:o")) != -1)
{
switch (ch)
{