summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-01-16 05:27:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-01-16 05:27:47 +0000
commitea55c1cfe7c4d513ff99be7482a5a643d1ec3270 (patch)
tree0805e7739db2731998da940945ec9ca920f8a9c8 /usr.sbin
parent4811fecdba566315d63c8d091cfcc4539f42a5ca (diff)
getopt(3) fix that I missed in the previous sweep.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sendmail/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sendmail/src/main.c b/usr.sbin/sendmail/src/main.c
index df276d46f1b..e420bbde23d 100644
--- a/usr.sbin/sendmail/src/main.c
+++ b/usr.sbin/sendmail/src/main.c
@@ -515,7 +515,7 @@ main(argc, argv, envp)
OpMode = MD_PURGESTAT;
optind = 1;
- while ((j = getopt(argc, argv, OPTIONS)) != EOF)
+ while ((j = getopt(argc, argv, OPTIONS)) != -1)
{
switch (j)
{