mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +00:00
use isc_result_totext(result) in place of strerror(errno) when reporting
the result of setting resource limits
This commit is contained in:
parent
4b7018f4cc
commit
a881879ffc
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: server.c,v 1.250 2000/11/15 01:16:30 gson Exp $ */
|
/* $Id: server.c,v 1.251 2000/11/15 01:37:00 tale Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -1391,8 +1391,7 @@ ns_server_zeroglobal(ns_server_t *serv) {
|
|||||||
ISC_LOG_DEBUG(1) : ISC_LOG_WARNING, \
|
ISC_LOG_DEBUG(1) : ISC_LOG_WARNING, \
|
||||||
"set maximum" description "to %" \
|
"set maximum" description "to %" \
|
||||||
ISC_PRINT_QUADFORMAT "d: %s", value, \
|
ISC_PRINT_QUADFORMAT "d: %s", value, \
|
||||||
result == ISC_R_SUCCESS \
|
isc_result_totext(result)); \
|
||||||
? "succeeded" : strerror(errno)); \
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user