From: Masatake YAMATO Date: Tue, 7 Mar 2023 14:09:32 +0000 (+0900) Subject: tests: (mkfds) print a whitespace only when the running factory has "report" method X-Git-Tag: v2.40-rc1~458^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90317e2a12d33ac73d69bbd9e7a56815de88572f;p=thirdparty%2Futil-linux.git tests: (mkfds) print a whitespace only when the running factory has "report" method Signed-off-by: Masatake YAMATO --- diff --git a/tests/helpers/test_mkfds.c b/tests/helpers/test_mkfds.c index 194c175504..4cae1e06db 100644 --- a/tests/helpers/test_mkfds.c +++ b/tests/helpers/test_mkfds.c @@ -2645,9 +2645,10 @@ int main(int argc, char **argv) if (!quiet) { printf("%d", getpid()); - putchar('\n'); - if (factory->report) + if (factory->report) { + putchar(' '); factory->report(factory, data, stdout); + } fflush(stdout); }