commit: 13354dc412c36fe554f9904a92f1268c74af7e87
From: Thierry Reding <[email protected]>
Date: Wed, 21 Mar 2012 22:50:08 +0100
Subject: x86-32: Fix typo for mq_getsetattr in syscall table

Syscall 282 was mistakenly named mq_getsetaddr instead of mq_getsetattr.
When building uClibc against the Linux kernel this would result in a
shared library that doesn't provide the mq_getattr() and mq_setattr()
functions.

Signed-off-by: Thierry Reding <[email protected]>
Link: 
http://lkml.kernel.org/r/1332366608-2695-2-git-send-email-thierry.red...@avionic-design.de
Cc: <[email protected]> v3.3
Signed-off-by: H. Peter Anvin <[email protected]>
---
 arch/x86/syscalls/syscall_32.tbl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl
index ce98e28..e7e67cc 100644
--- a/arch/x86/syscalls/syscall_32.tbl
+++ b/arch/x86/syscalls/syscall_32.tbl
@@ -288,7 +288,7 @@
 279    i386    mq_timedsend            sys_mq_timedsend                
compat_sys_mq_timedsend
 280    i386    mq_timedreceive         sys_mq_timedreceive             
compat_sys_mq_timedreceive
 281    i386    mq_notify               sys_mq_notify                   
compat_sys_mq_notify
-282    i386    mq_getsetaddr           sys_mq_getsetattr               
compat_sys_mq_getsetattr
+282    i386    mq_getsetattr           sys_mq_getsetattr               
compat_sys_mq_getsetattr
 283    i386    kexec_load              sys_kexec_load                  
compat_sys_kexec_load
 284    i386    waitid                  sys_waitid                      
compat_sys_waitid
 # 285 sys_setaltroot
-- 
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to