]> granicus.if.org Git - apache/commitdiff
* modules/experimental/mod_filter.c (filter_trace): Fix gcc
authorJoe Orton <jorton@apache.org>
Thu, 28 Jul 2005 08:00:43 +0000 (08:00 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 28 Jul 2005 08:00:43 +0000 (08:00 +0000)
-Wformat-security warning.

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

modules/experimental/mod_filter.c

index fc2056d18e3fe8d5894b9c36e301b8db7fb8d4f3..d85c76edabff9b50e42801511621304fc7124a1b 100644 (file)
@@ -127,7 +127,7 @@ static void filter_trace(conn_rec *c, int debug, const char *fname,
     case 0:        /* normal, operational use */
         return;
     case 1:        /* mod_diagnostics level */
-        ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, c, fname);
+        ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, c, "%s", fname);
         for (b = APR_BRIGADE_FIRST(bb);
              b != APR_BRIGADE_SENTINEL(bb);
              b = APR_BUCKET_NEXT(b)) {