summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/x86_64/brk.c')
-rw-r--r--libc/sysdeps/linux/x86_64/brk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/x86_64/brk.c b/libc/sysdeps/linux/x86_64/brk.c
index 22f006d7e..eddfd9830 100644
--- a/libc/sysdeps/linux/x86_64/brk.c
+++ b/libc/sysdeps/linux/x86_64/brk.c
@@ -29,7 +29,7 @@ int brk (void *addr)
{
void *__unbounded newbrk;
- asm ("syscall\n"
+ __asm__ ("syscall\n"
: "=a" (newbrk)
: "0" (__NR_brk), "D" (__ptrvalue (addr))
: "r11","rcx","memory");