diff options
author | Jeff Trawick <trawick@apache.org> | 2010-03-03 19:29:34 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2010-03-03 19:29:34 +0000 |
commit | 5bb91293830107c6e6d7da0138254fb255ddbfbd (patch) | |
tree | 63033b039f59d98dabfe411bd3d40caa7c035d65 /modules/examples | |
parent | f4b9c8330178f7dee55c761bea7dfc9f9bea6b3a (diff) | |
download | httpd-5bb91293830107c6e6d7da0138254fb255ddbfbd.tar.gz |
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
Diffstat (limited to 'modules/examples')
-rw-r--r-- | modules/examples/mod_example_hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |