posix: Return error code if mmap is used

This commit is contained in:
Daniel Cederman
2015-03-12 10:02:33 -04:00
committed by Gedare Bloom
parent d88b0b78d7
commit b0f8bb4eec
+1 -1
View File
@@ -26,5 +26,5 @@ void *mmap(
off_t off
)
{
return NULL;
return MAP_FAILED;
}