From: Graham Leggett Date: Thu, 14 Oct 2004 11:31:48 +0000 (+0000) Subject: mod_ldap: Fix format strings to use %APR_PID_T_FMT instead of %d. X-Git-Tag: 2.1.1~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3be30e07c3dab0c3ff8378f8097cfc86724e4ce0;p=apache mod_ldap: Fix format strings to use %APR_PID_T_FMT instead of %d. 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 --- diff --git a/CHANGES b/CHANGES index 4f242e87e0..d45a3f4682 100644 --- 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] diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index bf7aa28df9..6beff651ec 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -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()); } }