summaryrefslogtreecommitdiff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-19 21:50:20 -0400
committerRich Felker <dalias@aerifal.cx>2011-03-19 21:50:20 -0400
commit7877db6b2f2deeceaac027579c661610655127f5 (patch)
tree26033fb8cc390ec4fa1e1e5860e797981d478960 /arch/x86_64
parent685e40bb09f5f24a2af54ea09c97328808f76990 (diff)
downloadmusl-7877db6b2f2deeceaac027579c661610655127f5.tar.gz
fix typo in x86_64 part of syscall overhaul
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/bits/syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/bits/syscall.h b/arch/x86_64/bits/syscall.h
index c6f12230..d18edece 100644
--- a/arch/x86_64/bits/syscall.h
+++ b/arch/x86_64/bits/syscall.h
@@ -43,7 +43,7 @@ static inline long __syscall5(long __n, long __a1, long __a2, long __a3, long __
{
unsigned long __ret;
register long __r10 __asm__("r10") = __a4;
- register long__ r8 __asm__("r8") = __a5;
+ register long __r8 __asm__("r8") = __a5;
__asm__ __volatile__ ("syscall" : "=a"(__ret) : "a"(__n), "D"(__a1), "S"(__a2),
"d"(__a3), "r"(__r10), "r"(__r8) : "rcx", "r11", "memory");
return __ret;