From 0b768043e199e18d834540bb47a13f8e599ab14b Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Fri, 10 Nov 2000 03:05:36 +0000 Subject: [PATCH] improved error message on failure opening statistics dump file --- bin/named/server.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/named/server.c b/bin/named/server.c index 56c49f1ae0..f07b070ad5 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.243 2000/11/09 19:55:17 mws Exp $ */ +/* $Id: server.c,v 1.244 2000/11/10 03:05:36 gson Exp $ */ #include @@ -2235,7 +2235,8 @@ ns_server_dumpstats(ns_server_t *server) { if (result != ISC_R_SUCCESS) { isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_SERVER, ISC_LOG_WARNING, - "Failed to open statistics dump file"); + "could not open statistics dump file: %s", + isc_result_totext(result)); return (result); } numbercounters = dns_zone_numbercounters();