According to the [man page](https://man7.org/linux/man-pages/man2/mmap.2.html#RETURN_VALUE), mmap(2) returns MAP_FAILED (-1) on error instead of NULL. by @namhyung <!-- gh-linked-prs --> ### Linked PRs * gh-113342 * gh-113374 <!-- /gh-linked-prs -->
According to the man page, mmap(2) returns MAP_FAILED (-1) on error instead of NULL. by @namhyung
Linked PRs