From 5bb91293830107c6e6d7da0138254fb255ddbfbd Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 3 Mar 2010 19:29:34 +0000 Subject: [PATCH] fix this warning: MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit mod_example_hooks.c: In function ‘trace_nocontext’: mod_example_hooks.c:494: warning: format not a string literal and no format arguments git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@918654 13f79535-47bb-0310-9956-ffa450edef68 --- modules/examples/mod_example_hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/examples/mod_example_hooks.c b/modules/examples/mod_example_hooks.c index f6b9979329..16c94d7394 100644 --- a/modules/examples/mod_example_hooks.c +++ b/modules/examples/mod_example_hooks.c @@ -491,7 +491,7 @@ static void trace_nocontext(apr_pool_t *p, const char *file, int line, */ #ifdef EXAMPLE_LOG_EACH - ap_log_perror(file, line, APLOG_NOTICE, 0, p, note); + ap_log_perror(file, line, APLOG_NOTICE, 0, p, "%s", note); #endif } -- 2.40.0