summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/assertions.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-01-20 18:46:57 +0000
committerflorian <florian@openbsd.org>2020-01-20 18:46:57 +0000
commitc26d1f50849d5b8b87cd96891fdbd206cbe5f132 (patch)
tree62b0c2971a38a0b7de406544c0d340185df02eff /usr.sbin/bind/lib/isc/assertions.c
parentunifdef threading related defines (diff)
downloadwireguard-openbsd-c26d1f50849d5b8b87cd96891fdbd206cbe5f132.tar.xz
wireguard-openbsd-c26d1f50849d5b8b87cd96891fdbd206cbe5f132.zip
Do not use a message catalog for error messages.
It's not installed anyway. OK millert
Diffstat (limited to 'usr.sbin/bind/lib/isc/assertions.c')
-rw-r--r--usr.sbin/bind/lib/isc/assertions.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/bind/lib/isc/assertions.c b/usr.sbin/bind/lib/isc/assertions.c
index e2a5f765b1a..9c787db705e 100644
--- a/usr.sbin/bind/lib/isc/assertions.c
+++ b/usr.sbin/bind/lib/isc/assertions.c
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: assertions.c,v 1.5 2020/01/09 13:47:13 florian Exp $ */
+/* $Id: assertions.c,v 1.6 2020/01/20 18:46:57 florian Exp $ */
/*! \file */
@@ -98,8 +98,6 @@ default_callback(const char *file, int line, isc_assertiontype_t type,
const char *cond)
{
fprintf(stderr, "%s:%d: %s(%s) %s\n",
- file, line, isc_assertion_typetotext(type), cond,
- isc_msgcat_get(isc_msgcat, ISC_MSGSET_GENERAL,
- ISC_MSG_FAILED, "failed"));
+ file, line, isc_assertion_typetotext(type), cond, "failed");
fflush(stderr);
}