summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/unix/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/net.c')
-rw-r--r--usr.sbin/bind/lib/isc/unix/net.c29
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;
}