mmap() returns MAP_FAILED, which is (void*)-1, not a null pointer in case of failure.
Created attachment 246128 [details] Patch
Committed r179707: <http://trac.webkit.org/changeset/179707>