Added ERRNO to mmap allocation mode