projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s390x: add s390_sthyi system call from v4.15
[musl]
/
src
/
linux
/
brk.c
diff --git
a/src/linux/brk.c
b/src/linux/brk.c
index
d91ee5a
..
ffdbbd5
100644
(file)
--- 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
);
}