summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/nanosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/timers/nanosleep.c')
-rw-r--r--tools/testing/selftests/timers/nanosleep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/timers/nanosleep.c b/tools/testing/selftests/timers/nanosleep.c
index 8adb0bb51d4d..71b5441c2fd9 100644
--- a/tools/testing/selftests/timers/nanosleep.c
+++ b/tools/testing/selftests/timers/nanosleep.c
@@ -142,6 +142,7 @@ int main(int argc, char **argv)
continue;
printf("Nanosleep %-31s ", clockstring(clockid));
+ fflush(stdout);
length = 10;
while (length <= (NSEC_PER_SEC * 10)) {