posix: Return error code if mmap is used

This commit is contained in:
Daniel Cederman
2015-03-12 09:04:21 +01:00
committed by Gedare Bloom
parent d88b0b78d7
commit b0f8bb4eec

View File

@@ -26,5 +26,5 @@ void *mmap(
off_t off
)
{
return NULL;
return MAP_FAILED;
}