forked from Imagelibrary/rtems
posix: Return error code if mmap is used
This commit is contained in:
committed by
Gedare Bloom
parent
d88b0b78d7
commit
b0f8bb4eec
@@ -26,5 +26,5 @@ void *mmap(
|
||||
off_t off
|
||||
)
|
||||
{
|
||||
return NULL;
|
||||
return MAP_FAILED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user