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

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to