From 36a853a9a71c46f088ab8f7416d68af112a59ce4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Tue, 12 Dec 2023 18:42:11 +0100 Subject: [PATCH] libsmartcols: flush correct stream MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Weißschuh --- misc-utils/findmnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index 14ae2c5b48..ecd56990ce 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -1295,7 +1295,7 @@ static int poll_table(struct libmnt_table *tb, const char *tabfile, if (count) { rc = scols_table_print_range(table, NULL, NULL); - fflush(stdout); + fflush(scols_table_get_stream(table)); if (rc) goto done; } -- 2.47.3