summaryrefslogtreecommitdiff
path: root/mail/sendmail88/patches/patch-ao
blob: a6d1f92f22830c5171e984d31539fb634f78fb60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ao,v 1.1.1.1 2000/02/13 00:14:48 tron Exp $

--- praliases/praliases.c.orig	Thu May 29 01:52:17 1997
+++ praliases/praliases.c	Sat Feb 12 23:28:27 2000
@@ -67,7 +67,7 @@
 #endif
 
 	filename = "/etc/aliases";
-	while ((ch = getopt(argc, argv, "f:")) != EOF)
+	while ((ch = getopt(argc, argv, "f:")) != -1)
 		switch((char)ch) {
 		case 'f':
 			filename = optarg;