Commit cc9f352b authored by Lioncash's avatar Lioncash
Browse files

Common: Correctly set ptr to null if mmap fails in memory_util

On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
parent d1c2b76a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment