1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

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
This commit is contained in:
Graham Leggett
2004-10-14 11:31:48 +00:00
parent 7c55f44995
commit 3be30e07c3
2 changed files with 9 additions and 2 deletions

View 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());
}
}