From: Jeff Trawick Date: Wed, 3 Mar 2010 19:29:34 +0000 (+0000) Subject: fix this warning: X-Git-Tag: 2.3.6~403 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bb91293830107c6e6d7da0138254fb255ddbfbd;p=apache fix this warning: 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 --- 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 }