]> granicus.if.org Git - apache/commitdiff
mod_ldap: Fix format strings to use %APR_PID_T_FMT instead of %d.
authorGraham Leggett <minfrin@apache.org>
Thu, 14 Oct 2004 11:31:48 +0000 (11:31 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 14 Oct 2004 11:31:48 +0000 (11:31 +0000)
PR:
Obtained from:
Submitted by: Jeff Trawick
Reviewed by:

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

CHANGES
modules/ldap/util_ldap.c

diff --git a/CHANGES b/CHANGES
index 4f242e87e0534fb01020536663248cab48e051c5..d45a3f468213d5ce10a177d5990bf58a420cda35 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev
 
   [Remove entries to the current 2.0 section below, when backported]
 
+  *) mod_ldap: Fix format strings to use %APR_PID_T_FMT instead of %d.
+     [Jeff Trawick]
+
   *) mod_rewrite: Removed the MaxRedirects option in favor of the
      core LimitInternalRecursion directive.  [AndrĂ© Malo]
 
index bf7aa28df9639de60d0c58dc7edfae5fd345e675..6beff651ec1a1a980bb22a3de65bd8135204df4a 100644 (file)
@@ -1291,13 +1291,17 @@ static void util_ldap_child_init(apr_pool_t *p, server_rec *s)
     sts = apr_global_mutex_child_init(&st->util_ldap_cache_lock, st->lock_file, p);
     if (sts != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_CRIT, sts, s,
-                     "Failed to initialise global mutex %s in child process %d.",
+                     "Failed to initialise global mutex %s in child process %"
+                     APR_PID_T_FMT
+                     ".",
                      st->lock_file, getpid());
         return;
     }
     else {
         ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, s, 
-                     "Initialisation of global mutex %s in child process %d successful.",
+                     "Initialisation of global mutex %s in child process %"
+                     APR_PID_T_FMT
+                     " successful.",
                      st->lock_file, getpid());
     }
 }