From Michael McConville
a patch to fix an error check for mmap(2), which returns MAP_FAILED rather than NULL on failure.
Authored by: waldviertler 2017-12-03
Parent: [r3413]
Child: [r3415]