hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/tools/testing/selftests/proc/proc-self-syscall.c
....@@ -19,7 +19,6 @@
1919 #include <sys/stat.h>
2020 #include <fcntl.h>
2121 #include <errno.h>
22
-#include <unistd.h>
2322 #include <string.h>
2423 #include <stdio.h>
2524
....@@ -38,7 +37,7 @@
3837 fd = open("/proc/self/syscall", O_RDONLY);
3938 if (fd == -1) {
4039 if (errno == ENOENT)
41
- return 2;
40
+ return 4;
4241 return 1;
4342 }
4443