]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
"fix" this warning by passing "%s" as the format string:
authorJeff Trawick <trawick@apache.org>
Sat, 16 May 2009 13:21:23 +0000 (13:21 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 16 May 2009 13:21:23 +0000 (13:21 +0000)
mod_authz_core.c: In function ‘authz_core_check_section’:
mod_authz_core.c:579: warning: format not a string literal and no format arguments

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@775460 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authz_core.c

index 23702bc5e91ff8fedaf243a60b2fbc222b5ff9c6..6dbea9cf50ead3de5bf0d0e15be46705b4210e49 100644 (file)
@@ -572,6 +572,7 @@ static int authz_core_check_section(apr_pool_t *p, server_rec *s,
 
     if (ret != OK) {
         ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_STARTUP, APR_SUCCESS, s,
+                     "%s",
                      apr_pstrcat(p, (is_conf
                                      ? "<Directory>, <Location>, or similar"
                                      : format_authz_command(p, section)),