[PATCH] Fixes incorrect syscall indices for shmat and shmctl in X86_64 arch.

Ildar Muslukhov <[email protected]>
Newsgroups org.kernel.vger.trinity
Message-ID <alpine.DEB.2.02.1312031641330.30422@ildarm-linux.kir.corp.google.com>
This patch fixes incorrect indices for shmat (should be #30) and shmctl 
(should be #31).

Signed-off-by: Ildar Muslukhov <[email protected]>

---
 include/syscalls-x86_64.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/syscalls-x86_64.h b/include/syscalls-x86_64.h
index 9ceb65c..23c2166 100644
--- a/include/syscalls-x86_64.h
+++ b/include/syscalls-x86_64.h
@@ -38,8 +38,8 @@ struct syscalltable syscalls_x86_64[] = {
 	{ .entry = &syscall_mincore },
 	{ .entry = &syscall_madvise },
 	{ .entry = &syscall_shmget },
-	{ .entry = &syscall_shmctl },
 	{ .entry = &syscall_shmat },
+	{ .entry = &syscall_shmctl },
 	{ .entry = &syscall_dup },
 	{ .entry = &syscall_dup2 },
 	{ .entry = &syscall_pause },
-- 
1.8.4.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.