summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/seccomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/seccomp.h')
-rw-r--r--include/asm-generic/seccomp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/seccomp.h b/include/asm-generic/seccomp.h
index 1321ac7821d7..6b6f42bc58f9 100644
--- a/include/asm-generic/seccomp.h
+++ b/include/asm-generic/seccomp.h
@@ -33,7 +33,7 @@ static inline const int *get_compat_mode1_syscalls(void)
static const int mode1_syscalls_32[] = {
__NR_seccomp_read_32, __NR_seccomp_write_32,
__NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
- 0, /* null terminated */
+ -1, /* negative terminated */
};
return mode1_syscalls_32;
}