summaryrefslogtreecommitdiff
path: root/usr.sbin/sendmail/contrib/bitdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sendmail/contrib/bitdomain.c')
-rw-r--r--usr.sbin/sendmail/contrib/bitdomain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sendmail/contrib/bitdomain.c b/usr.sbin/sendmail/contrib/bitdomain.c
index 52d6d2187c3..ec79b9506e4 100644
--- a/usr.sbin/sendmail/contrib/bitdomain.c
+++ b/usr.sbin/sendmail/contrib/bitdomain.c
@@ -51,7 +51,7 @@ char **argv;
{
int opt;
- while ((opt = getopt(argc, argv, "o:")) != EOF) {
+ while ((opt = getopt(argc, argv, "o:")) != -1) {
switch (opt) {
case 'o':
if (!freopen(optarg, "w", stdout)) {