Browse Source

Fixes NPTL build on x86.

Signed-off-by: Natanael Copa <natanael.copa@gmail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Natanael Copa 15 years ago
parent
commit
f53c628428
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/i386/bits/syscalls.h

+ 1 - 1
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; \
 })