mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-24 14:38:53 -04:00
silence: warning: format not a string literal and no format arguments
This commit is contained in:
parent
1c3a9e9ac9
commit
dc76cdcf0a
1 changed files with 4 additions and 4 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: log_test.c,v 1.26 2007/06/19 23:46:59 tbox Exp $ */
|
||||
/* $Id: log_test.c,v 1.26.332.1 2011/01/14 00:45:15 marka Exp $ */
|
||||
|
||||
/* Principal Authors: DCL */
|
||||
|
||||
|
|
@ -306,16 +306,16 @@ main(int argc, char **argv) {
|
|||
isc_log_write1(lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_RBTDB,
|
||||
ISC_LOG_CRITICAL, "%s", message);
|
||||
isc_log_write1(lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_RBTDB,
|
||||
ISC_LOG_CRITICAL, message);
|
||||
ISC_LOG_CRITICAL, "%s", message);
|
||||
|
||||
isc_log_setduplicateinterval(lcfg, 1);
|
||||
message = "This message should appear twice on stderr";
|
||||
|
||||
isc_log_write1(lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_RBTDB,
|
||||
ISC_LOG_CRITICAL, message);
|
||||
ISC_LOG_CRITICAL, "%s", message);
|
||||
sleep(2);
|
||||
isc_log_write1(lctx, DNS_LOGCATEGORY_GENERAL, DNS_LOGMODULE_RBTDB,
|
||||
ISC_LOG_CRITICAL, message);
|
||||
ISC_LOG_CRITICAL, "%s", message);
|
||||
|
||||
/*
|
||||
* Review where everything went.
|
||||
|
|
|
|||
Loading…
Reference in a new issue