diff options
author | Cy Schubert <cy@FreeBSD.org> | 2015-02-05 20:53:33 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2015-02-05 20:53:33 +0000 |
commit | f7cba3a80d9ebefc57776fffd17a4ae68f72e494 (patch) | |
tree | dc1c5074828f0c5fafe2fb8f5599339dfdc5bc97 /lib/isc/unix | |
parent | 44a728f815af203cd7a91db83b06325818433463 (diff) |
Notes
Diffstat (limited to 'lib/isc/unix')
-rw-r--r-- | lib/isc/unix/ifiter_getifaddrs.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/isc/unix/ifiter_getifaddrs.c b/lib/isc/unix/ifiter_getifaddrs.c index 547a83f07937..c2e4044ac008 100644 --- a/lib/isc/unix/ifiter_getifaddrs.c +++ b/lib/isc/unix/ifiter_getifaddrs.c @@ -96,9 +96,13 @@ isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp) { } if (ret < 0) { isc__strerror(errno, strbuf, sizeof(strbuf)); - UNEXPECTED_ERROR(__FILE__, __LINE__, isc_msgcat_get(isc_msgcat, - ISC_MSGSET_IFITERGETIFADDRS, ISC_MSG_GETIFADDRS, - "getting interface addresses: getifaddrs: %s"), strbuf); + UNEXPECTED_ERROR(__FILE__, __LINE__, + "getting interface addresses: %s: %s", + isc_msgcat_get(isc_msgcat, + ISC_MSGSET_IFITERGETIFADDRS, + ISC_MSG_GETIFADDRS, + "getifaddrs"), + strbuf); result = ISC_R_UNEXPECTED; goto failure; } |