1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00

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
This commit is contained in:
Jeff Trawick
2010-03-03 19:29:34 +00:00
parent f4b9c83301
commit 5bb9129383

View File

@@ -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
}