Index: src/untrusted/nacl/sbrk_private.c |
diff --git a/src/untrusted/nacl/sbrk_private.c b/src/untrusted/nacl/sbrk_private.c |
index 9a53b26025996b81850053fa4ea193740d31e2c5..af9918ba1d6a77389f7cd81bf0c37ccfd4f440c8 100644 |
--- a/src/untrusted/nacl/sbrk_private.c |
+++ b/src/untrusted/nacl/sbrk_private.c |
@@ -20,13 +20,13 @@ void *sbrk(intptr_t increment) { |
void *new_break; |
if (0 == current_break) |
- current_break = NACL_SYSCALL(sysbrk)(0); |
+ current_break = NACL_SYSCALL(brk)(0); |
old_break = current_break; |
new_break = old_break + increment; |
if (new_break != old_break) { |
- new_break = NACL_SYSCALL(sysbrk)(new_break); |
+ new_break = NACL_SYSCALL(brk)(new_break); |
if (new_break == old_break) { |
errno = ENOMEM; |
return (void *) -1; |