summaryrefslogtreecommitdiff
path: root/mmap/unix
diff options
context:
space:
mode:
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