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