summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vm/memfd_secret.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/vm/memfd_secret.c')
-rw-r--r--tools/testing/selftests/vm/memfd_secret.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/vm/memfd_secret.c b/tools/testing/selftests/vm/memfd_secret.c
index 93e7e7ffed33..957b9e18c729 100644
--- a/tools/testing/selftests/vm/memfd_secret.c
+++ b/tools/testing/selftests/vm/memfd_secret.c
@@ -282,7 +282,7 @@ int main(int argc, char *argv[])
close(fd);
- ksft_exit(!ksft_get_fail_cnt());
+ ksft_finished();
}
#else /* __NR_memfd_secret */