diff options
author | Sander Striker <striker@apache.org> | 2003-03-10 19:02:38 +0000 |
---|---|---|
committer | Sander Striker <striker@apache.org> | 2003-03-10 19:02:38 +0000 |
commit | 6dc0b1d7c859a1ce3cc264e271a99b458e2f94fd (patch) | |
tree | 97c8a23a4275d7f95a1c965deacd27d1caf7e6cd /mmap | |
parent | fe5b359c4df5d84483bb476596bfe1fa20de629c (diff) | |
download | apr-6dc0b1d7c859a1ce3cc264e271a99b458e2f94fd.tar.gz |
* mmap/unix/mmap.c
(apr_mmap_create): Return errno instead of APR_ENOMEM.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64415 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'mmap')
-rw-r--r-- | mmap/unix/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mmap/unix/mmap.c b/mmap/unix/mmap.c index 2503f5438..42d39caf3 100644 --- a/mmap/unix/mmap.c +++ b/mmap/unix/mmap.c @@ -163,7 +163,7 @@ APR_DECLARE(apr_status_t) apr_mmap_create(apr_mmap_t **new, if (mm == (void *)-1) { /* we failed to get an mmap'd file... */ - return APR_ENOMEM; + return errno; } #endif |