aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/proc/proc-self-syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/proc/proc-self-syscall.c')
-rw-r--r--tools/testing/selftests/proc/proc-self-syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/proc/proc-self-syscall.c b/tools/testing/selftests/proc/proc-self-syscall.c
index 5ab5f4810e43..b2993a67a4b3 100644
--- a/tools/testing/selftests/proc/proc-self-syscall.c
+++ b/tools/testing/selftests/proc/proc-self-syscall.c
@@ -39,7 +39,7 @@ int main(void)
fd = open("/proc/self/syscall", O_RDONLY);
if (fd == -1) {
if (errno == ENOENT)
- return 2;
+ return 4;
return 1;
}