diff options
Diffstat (limited to 'src/linux/brk.c')
-rw-r--r-- | src/linux/brk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linux/brk.c b/src/linux/brk.c index d91ee5a9..ffdbbd52 100644 --- a/src/linux/brk.c +++ b/src/linux/brk.c @@ -1,6 +1,7 @@ +#include <errno.h> #include "syscall.h" int brk(void *end) { - return -(syscall(SYS_brk, end) != (unsigned long)end); + return __syscall_ret(-ENOMEM); } |