Skip to contentSkip to conversation

seccomp.2: fix path to syscall_64.tbl

PATCH New Trevor Woerner 1 participant 1 message Sep 2, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 seccomp.2: fix path to syscall_64.tbl

The path to the syscall_64.tbl file was missing a directory.

---
 man2/seccomp.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/seccomp.2 +1 -1
index 4b96b6d8a..3af693916 100644
@@ -1059,7 +1059,7 @@ numbers on this architecture:
 $ \fBuname \-m\fP
 x86_64
 $ \fBsyscall_nr() {
-    cat /usr/src/linux/arch/x86/syscalls/syscall_64.tbl | \e
+    cat /usr/src/linux/arch/x86/entry/syscalls/syscall_64.tbl | \e
     awk \(aq$2 != "x32" && $3 == "\(aq$1\(aq" { print $1 }\(aq
 }\fP
 .EE
Signature · 1 line
2.30.0.rc0