summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2009-09-09 18:10:17 +0000
committerJim Jagielski <jim@apache.org>2009-09-09 18:10:17 +0000
commitfc8f54d6952fb55abb2d7228ddb7c46455091480 (patch)
treebf7f2b56921556e1f2f7202be7297f97c96ab25b /locks
parent851444f65f2304778a0bce08a1161d91285b51c8 (diff)
downloadapr-fc8f54d6952fb55abb2d7228ddb7c46455091480.tar.gz
just use it :)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@813063 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/unix/proc_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locks/unix/proc_mutex.c b/locks/unix/proc_mutex.c
index e993939b3..71d321d97 100644
--- a/locks/unix/proc_mutex.c
+++ b/locks/unix/proc_mutex.c
@@ -69,7 +69,7 @@ static apr_status_t proc_mutex_posix_create(apr_proc_mutex_t *new_mutex,
#define APR_POSIXSEM_NAME_MAX 30
#define APR_POSIXSEM_NAME_MIN 13
sem_t *psem;
- char semname[34]; /* APR_MD5_DIGESTSIZE*2 + 2 */
+ char semname[APR_MD5_DIGESTSIZE * 2 + 2];
new_mutex->interproc = apr_palloc(new_mutex->pool,
sizeof(*new_mutex->interproc));