summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
Diffstat (limited to 'shmem')
-rw-r--r--shmem/unix/shmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shmem/unix/shmem.c b/shmem/unix/shmem.c
index 0ab06492a..c728f5501 100644
--- a/shmem/unix/shmem.c
+++ b/shmem/unix/shmem.c
@@ -150,7 +150,7 @@ ap_status_t ap_shm_avail(struct shmem_t *c, ap_size_t *size)
{
*size = mm_available(c);
if (*size == 0) {
- return APR_ESHMLOCK;
+ return APR_ENOSHMAVAIL;
}
return APR_SUCCESS;
}