projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prevent passing PT_INTERP name to dlopen from double-loading libc
[musl]
/
src
/
linux
/
brk.c
diff --git
a/src/linux/brk.c
b/src/linux/brk.c
index
3c2982c
..
d91ee5a
100644
(file)
--- a/
src/linux/brk.c
+++ b/
src/linux/brk.c
@@
-2,5
+2,5
@@
int brk(void *end)
{
int brk(void *end)
{
- return -(syscall
1(__NR_brk, (long)end) == -1
);
+ return -(syscall
(SYS_brk, end) != (unsigned long)end
);
}
}