diff options
author | Jim Jagielski <jim@apache.org> | 2014-01-25 17:57:25 +0000 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2014-01-25 17:57:25 +0000 |
commit | 043ca4e51999f33b85c451aa8b5bc296c2f70074 (patch) | |
tree | 7ffcced08b7da7746aa5ab27894acfa79e42d65c /shmem | |
parent | f2028133e60a9f1c86debac1ed27a5c8f79251e9 (diff) | |
download | apr-043ca4e51999f33b85c451aa8b5bc296c2f70074.tar.gz |
Revert mistaken c/p
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1561347 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'shmem')
-rw-r--r-- | shmem/unix/shm.c | 2 |
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 */ |