From ed48ce561c1169ee3ddc516727cc8bbe72cf4ad5 Mon Sep 17 00:00:00 2001 From: sheldonh Date: Wed, 1 Sep 1999 12:37:26 +0000 Subject: The -f option stole the -d option's option string colon in the getopt optstring. PR: 13521 Submitted by: Andre Albsmeier --- usr.sbin/yp_mkdb/yp_mkdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/yp_mkdb') diff --git a/usr.sbin/yp_mkdb/yp_mkdb.c b/usr.sbin/yp_mkdb/yp_mkdb.c index 7b4d0d7..d49448c 100644 --- a/usr.sbin/yp_mkdb/yp_mkdb.c +++ b/usr.sbin/yp_mkdb/yp_mkdb.c @@ -118,7 +118,7 @@ int main (argc, argv) FILE *ifp; char hname[MAXHOSTNAMELEN + 2]; - while ((ch = getopt(argc, argv, "uhcbsdf:i:o:m:")) != -1) { + while ((ch = getopt(argc, argv, "uhcbsd:fi:o:m:")) != -1) { switch(ch) { case 'f': filter_plusminus++; -- cgit v1.1