summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/commandline.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bind/lib/isc/commandline.c')
-rw-r--r--usr.sbin/bind/lib/isc/commandline.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/usr.sbin/bind/lib/isc/commandline.c b/usr.sbin/bind/lib/isc/commandline.c
index 9e6a18d6bec..36a08744f8b 100644
--- a/usr.sbin/bind/lib/isc/commandline.c
+++ b/usr.sbin/bind/lib/isc/commandline.c
@@ -43,7 +43,7 @@
* SUCH DAMAGE.
*/
-/* $Id: commandline.c,v 1.9 2020/01/09 14:18:30 florian Exp $ */
+/* $Id: commandline.c,v 1.10 2020/01/20 18:46:57 florian Exp $ */
/*! \file
* This file was adapted from the NetBSD project's source tree, RCS ID:
@@ -145,11 +145,7 @@ isc_commandline_parse(int argc, char * const *argv, const char *options) {
if (isc_commandline_errprint && *options != ':')
fprintf(stderr, "%s: %s -- %c\n",
- isc_commandline_progname,
- isc_msgcat_get(isc_msgcat,
- ISC_MSGSET_COMMANDLINE,
- ISC_MSG_ILLEGALOPT,
- "illegal option"),
+ isc_commandline_progname, "illegal option",
isc_commandline_option);
return (BADOPT);
@@ -199,11 +195,7 @@ isc_commandline_parse(int argc, char * const *argv, const char *options) {
if (isc_commandline_errprint)
fprintf(stderr, "%s: %s -- %c\n",
isc_commandline_progname,
- isc_msgcat_get(isc_msgcat,
- ISC_MSGSET_COMMANDLINE,
- ISC_MSG_OPTNEEDARG,
- "option requires "
- "an argument"),
+ "option requires an argument",
isc_commandline_option);
return (BADOPT);