From b8b2b1efd84fb1e96500d86f2ada3c2efa1338f3 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Thu, 30 Mar 2017 10:17:32 +0100 Subject: [PATCH] dmsetup: Flush ouptut when using --interval --- tools/dmsetup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/dmsetup.c b/tools/dmsetup.c index d25b3bdea..44ea6f9b4 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -7080,6 +7080,7 @@ doit: if (_count > 1 && r) { printf("\n"); + fflush(stdout); /* wait for --interval and update timestamps */ if (!_do_report_wait()) { ret = 1;