diff options
author | sheldonh <sheldonh@FreeBSD.org> | 1999-09-01 12:37:26 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 1999-09-01 12:37:26 +0000 |
commit | ed48ce561c1169ee3ddc516727cc8bbe72cf4ad5 (patch) | |
tree | 1ad90ce8597f942ea3ba6cc083de55feb48a45a9 /usr.sbin/yp_mkdb/yp_mkdb.c | |
parent | b0a4cf1544fa7a320f7d4284d52cc718ac001f66 (diff) | |
download | FreeBSD-src-ed48ce561c1169ee3ddc516727cc8bbe72cf4ad5.zip FreeBSD-src-ed48ce561c1169ee3ddc516727cc8bbe72cf4ad5.tar.gz |
The -f option stole the -d option's option string colon in the getopt
optstring.
PR: 13521
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Diffstat (limited to 'usr.sbin/yp_mkdb/yp_mkdb.c')
-rw-r--r-- | usr.sbin/yp_mkdb/yp_mkdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |