diff options
| author | 2020-01-20 18:46:57 +0000 | |
|---|---|---|
| committer | 2020-01-20 18:46:57 +0000 | |
| commit | c26d1f50849d5b8b87cd96891fdbd206cbe5f132 (patch) | |
| tree | 62b0c2971a38a0b7de406544c0d340185df02eff /usr.sbin/bind/lib/isc/unix/net.c | |
| parent | unifdef threading related defines (diff) | |
| download | wireguard-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/unix/net.c')
| -rw-r--r-- | usr.sbin/bind/lib/isc/unix/net.c | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/net.c b/usr.sbin/bind/lib/isc/unix/net.c index 9988989e3dd..5c0fb9c45ed 100644 --- a/usr.sbin/bind/lib/isc/unix/net.c +++ b/usr.sbin/bind/lib/isc/unix/net.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: net.c,v 1.10 2020/01/09 13:45:33 florian Exp $ */ +/* $Id: net.c,v 1.11 2020/01/20 18:46:57 florian Exp $ */ #include <config.h> @@ -148,11 +148,7 @@ try_proto(int domain) { default: isc__strerror(errno, strbuf, sizeof(strbuf)); UNEXPECTED_ERROR(__FILE__, __LINE__, - "socket() %s: %s", - isc_msgcat_get(isc_msgcat, - ISC_MSGSET_GENERAL, - ISC_MSG_FAILED, - "failed"), + "socket() %s: %s", "failed", strbuf); return (ISC_R_UNEXPECTED); } @@ -258,12 +254,7 @@ try_ipv6only(void) { if (s == -1) { isc__strerror(errno, strbuf, sizeof(strbuf)); UNEXPECTED_ERROR(__FILE__, __LINE__, - "socket() %s: %s", - isc_msgcat_get(isc_msgcat, - ISC_MSGSET_GENERAL, - ISC_MSG_FAILED, - "failed"), - strbuf); + "socket() %s: %s", "failed", strbuf); ipv6only_result = ISC_R_UNEXPECTED; return; } @@ -281,12 +272,7 @@ try_ipv6only(void) { if (s == -1) { isc__strerror(errno, strbuf, sizeof(strbuf)); UNEXPECTED_ERROR(__FILE__, __LINE__, - "socket() %s: %s", - isc_msgcat_get(isc_msgcat, - ISC_MSGSET_GENERAL, - ISC_MSG_FAILED, - "failed"), - strbuf); + "socket() %s: %s", "failed", strbuf); ipv6only_result = ISC_R_UNEXPECTED; return; } @@ -331,12 +317,7 @@ try_ipv6pktinfo(void) { if (s == -1) { isc__strerror(errno, strbuf, sizeof(strbuf)); UNEXPECTED_ERROR(__FILE__, __LINE__, - "socket() %s: %s", - isc_msgcat_get(isc_msgcat, - ISC_MSGSET_GENERAL, - ISC_MSG_FAILED, - "failed"), - strbuf); + "socket() %s: %s", "failed", strbuf); ipv6pktinfo_result = ISC_R_UNEXPECTED; return; } |
