summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/avr32/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/avr32/brk.c')
-rw-r--r--libc/sysdeps/linux/avr32/brk.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/avr32/brk.c b/libc/sysdeps/linux/avr32/brk.c
index d824c7cd0..a54b49a61 100644
--- a/libc/sysdeps/linux/avr32/brk.c
+++ b/libc/sysdeps/linux/avr32/brk.c
@@ -15,17 +15,17 @@ void *__curbrk attribute_hidden = 0;
int brk (void *addr)
{
- void *newbrk;
+ void *newbrk;
- newbrk = (void *)INLINE_SYSCALL(brk, 1, addr);
+ newbrk = (void *)INLINE_SYSCALL(brk, 1, addr);
- __curbrk = newbrk;
+ __curbrk = newbrk;
- if (newbrk < addr) {
- __set_errno (ENOMEM);
- return -1;
- }
+ if (newbrk < addr) {
+ __set_errno (ENOMEM);
+ return -1;
+ }
- return 0;
+ return 0;
}
libc_hidden_def(brk)