summaryrefslogtreecommitdiff
path: root/mmap/unix
diff options
context:
space:
mode:
authorstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2003-03-10 19:02:38 +0000
committerstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2003-03-10 19:02:38 +0000
commit01417e0febfc2a065259921e55ec1f325e5fd2aa (patch)
tree97c8a23a4275d7f95a1c965deacd27d1caf7e6cd /mmap/unix
parent3955999957bf8612bb9f3626e1453e7d587f67c3 (diff)
downloadlibapr-01417e0febfc2a065259921e55ec1f325e5fd2aa.tar.gz
* mmap/unix/mmap.c
(apr_mmap_create): Return errno instead of APR_ENOMEM. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64415 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'mmap/unix')
-rw-r--r--mmap/unix/mmap.c2
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