use macro MAP_FAILED from <sys/mman.h>

mmap returns MAP_FAILED on error