summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/mqueue-lat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/timers/mqueue-lat.c')
-rw-r--r--tools/testing/selftests/timers/mqueue-lat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/timers/mqueue-lat.c b/tools/testing/selftests/timers/mqueue-lat.c
index 7916cf5cc6..f3179a605b 100644
--- a/tools/testing/selftests/timers/mqueue-lat.c
+++ b/tools/testing/selftests/timers/mqueue-lat.c
@@ -107,8 +107,8 @@ int main(int argc, char **argv)
ret = mqueue_lat_test();
if (ret < 0) {
printf("[FAILED]\n");
- return ksft_exit_fail();
+ ksft_exit_fail();
}
printf("[OK]\n");
- return ksft_exit_pass();
+ ksft_exit_pass();
}