summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2010-04-09 06:20:59 -0700
committerAustin Foxley <austinf@cetoncorp.com>2010-04-09 06:27:24 -0700
commitf53c628428c449f84c92a38c39632e63942d492a (patch)
tree6989d940296393712f2aa20a79b60ccbc952b5be /libc/sysdeps/linux
parent00f2fe1e89b78ecf89eda45d665a237849314d0b (diff)
Fixes NPTL build on x86.
Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/i386/bits/syscalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/bits/syscalls.h b/libc/sysdeps/linux/i386/bits/syscalls.h
index 0427d91cd..9184bd6c3 100644
--- a/libc/sysdeps/linux/i386/bits/syscalls.h
+++ b/libc/sysdeps/linux/i386/bits/syscalls.h
@@ -23,7 +23,7 @@
"int $0x80\n\t" \
RESTOREARGS_##nr \
: "=a" (resultvar) \
- : "i" (name) ASMFMT_##nr(args) : "memory", "cc" \
+ : "g" (name) ASMFMT_##nr(args) : "memory", "cc" \
); \
(int) resultvar; \
})