From a881879ffc1cb06c35d7654c4badf95709db51a1 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 15 Nov 2000 01:37:00 +0000 Subject: [PATCH] use isc_result_totext(result) in place of strerror(errno) when reporting the result of setting resource limits --- bin/named/server.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/named/server.c b/bin/named/server.c index e8df8a0975..51bae56f51 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -15,7 +15,7 @@ * 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 @@ -1391,8 +1391,7 @@ ns_server_zeroglobal(ns_server_t *serv) { ISC_LOG_DEBUG(1) : ISC_LOG_WARNING, \ "set maximum" description "to %" \ ISC_PRINT_QUADFORMAT "d: %s", value, \ - result == ISC_R_SUCCESS \ - ? "succeeded" : strerror(errno)); \ + isc_result_totext(result)); \ } static void