From: Jeff Trawick Date: Sat, 16 May 2009 13:21:23 +0000 (+0000) Subject: "fix" this warning by passing "%s" as the format string: X-Git-Tag: 2.3.3~558 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=052afc656040e6e100a3a780b232ad4b5625ab79;p=thirdparty%2Fapache%2Fhttpd.git "fix" this warning by passing "%s" as the format string: 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 --- diff --git a/modules/aaa/mod_authz_core.c b/modules/aaa/mod_authz_core.c index 23702bc5e91..6dbea9cf50e 100644 --- a/modules/aaa/mod_authz_core.c +++ b/modules/aaa/mod_authz_core.c @@ -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 ? ", , or similar" : format_authz_command(p, section)),