Bug fix - mmap() returns MAP_FAILED, not NULL.