summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2004-10-14 13:31:48 +0200
committerGraham Leggett <minfrin@apache.org>2004-10-14 13:31:48 +0200
commit3be30e07c3dab0c3ff8378f8097cfc86724e4ce0 (patch)
tree83cc0d7305a425d862112bc973861bf8b210b5f1 /modules
parentupdate transformation (diff)
downloadapache2-3be30e07c3dab0c3ff8378f8097cfc86724e4ce0.tar.xz
apache2-3be30e07c3dab0c3ff8378f8097cfc86724e4ce0.zip
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
Diffstat (limited to 'modules')
-rw-r--r--modules/ldap/util_ldap.c8
1 files changed, 6 insertions, 2 deletions
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());
}
}