diff --git a/bin/rndc/rndc.c b/bin/rndc/rndc.c index 8fee8f4a4b..6c12eddb6d 100644 --- a/bin/rndc/rndc.c +++ b/bin/rndc/rndc.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rndc.c,v 1.65 2001/06/22 17:22:25 tale Exp $ */ +/* $Id: rndc.c,v 1.66 2001/07/01 17:36:46 bwelling Exp $ */ /* * Principal Author: DCL @@ -196,7 +196,7 @@ rndc_recvdone(isc_task_t *task, isc_event_t *event) { recvs--; if (ccmsg.result == ISC_R_EOF) - fatal("connection to remote host closed\n", + fatal("connection to remote host closed\n" "This may indicate that the remote server is using " "an older version of the\n" "command protocol, this host is not authorized " diff --git a/bin/rndc/util.h b/bin/rndc/util.h index 005e452c99..d9225ddfc9 100644 --- a/bin/rndc/util.h +++ b/bin/rndc/util.h @@ -15,13 +15,15 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: util.h,v 1.1 2001/06/22 17:22:26 tale Exp $ */ +/* $Id: util.h,v 1.2 2001/07/01 17:36:47 bwelling Exp $ */ #ifndef RNDC_UTIL_H #define RNDC_UTIL_H 1 #include +#include + #define NS_CONTROL_PORT 953 #undef DO @@ -40,7 +42,7 @@ void notify(const char *fmt, ...); void -fatal(const char *format, ...); +fatal(const char *format, ...) ISC_FORMAT_PRINTF(1, 2); ISC_LANG_ENDDECLS