summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-19 22:32:08 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-19 22:32:08 +0000
commitb706f6865d5c832e08068a50056b58818c06c35d (patch)
tree062838f713ea7ed8b355cea0df2bb1addf1d297c /shmem
parent2ca520da1d79bb275fed81178287c13ef1cf7600 (diff)
downloadlibapr-b706f6865d5c832e08068a50056b58818c06c35d.tar.gz
Cleaned up the error codes a bit. Removed codes that aren't used anywhere,
return errno instead of new error codes where appropriate. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59893 13f79535-47bb-0310-9956-ffa450edef68
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;
}