summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authorjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2014-01-25 17:57:25 +0000
committerjim <jim@13f79535-47bb-0310-9956-ffa450edef68>2014-01-25 17:57:25 +0000
commit9a0549ba7e7fe2c5d74d0f77d837c7250e7d3da0 (patch)
tree7ffcced08b7da7746aa5ab27894acfa79e42d65c /shmem
parent786d7dfce51de89390eb2348322402cd28f09292 (diff)
downloadlibapr-9a0549ba7e7fe2c5d74d0f77d837c7250e7d3da0.tar.gz
Revert mistaken c/p
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1561347 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'shmem')
-rw-r--r--shmem/unix/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shmem/unix/shm.c b/shmem/unix/shm.c
index 3fb20123d..0d026e31c 100644
--- a/shmem/unix/shm.c
+++ b/shmem/unix/shm.c
@@ -325,7 +325,7 @@ APR_DECLARE(apr_status_t) apr_shm_create(apr_shm_t **m,
shm_unlink(shm_name); /* we're failing, remove the object */
return status;
}
- new_m->base = mmap(NULL, new_m->realsize, PROT_READ | PROT_WRITE,
+ new_m->base = mmap(NULL, reqsize, PROT_READ | PROT_WRITE,
MAP_SHARED, tmpfd, 0);
/* FIXME: check for errors */