From: Mark Andrews Date: Tue, 25 Nov 2014 20:36:53 +0000 (+1100) Subject: make isc_buffer_t **text X-Git-Tag: v9.11.0a1~1218 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=9e69a36ec12f459e572b485afc3d9916d0319fd2;p=thirdparty%2Fbind9.git make isc_buffer_t **text --- diff --git a/bin/named/include/named/ns_smf_globals.h b/bin/named/include/named/ns_smf_globals.h index 3a357435775..373bdaba894 100644 --- a/bin/named/include/named/ns_smf_globals.h +++ b/bin/named/include/named/ns_smf_globals.h @@ -35,7 +35,7 @@ EXTERN unsigned int ns_smf_got_instance INIT(0); EXTERN unsigned int ns_smf_chroot INIT(0); EXTERN unsigned int ns_smf_want_disable INIT(0); -isc_result_t ns_smf_add_message(isc_buffer_t *text); +isc_result_t ns_smf_add_message(isc_buffer_t **text); isc_result_t ns_smf_get_instance(char **name, int debug, isc_mem_t *mctx); #undef EXTERN diff --git a/bin/named/server.c b/bin/named/server.c index a5488c87a56..8bbaf33686d 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -8901,7 +8901,7 @@ ns_server_freeze(ns_server_t *server, isc_boolean_t freeze, char *args, * is managed by smf and is also running chroot. */ isc_result_t -ns_smf_add_message(isc_buffer_t *text) { +ns_smf_add_message(isc_buffer_t **text) { return (putstr(text, "use svcadm(1M) to manage named")); } #endif /* HAVE_LIBSCF */