From 8fab21114122c9abf54a750523a12bf263d5b0b2 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 26 May 2023 13:39:33 +0200 Subject: libbb/dump: use fputs_stdout where appropriate function old new delta display 1485 1483 -2 Signed-off-by: Denys Vlasenko --- libbb/dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb/dump.c') diff --git a/libbb/dump.c b/libbb/dump.c index fc145ed..dace481 100644 --- a/libbb/dump.c +++ b/libbb/dump.c @@ -653,7 +653,7 @@ static NOINLINE void display(priv_dumper_t* dumper) printf(pr->fmt, (char *) bp); break; case F_TEXT: - printf(pr->fmt); + fputs_stdout(pr->fmt); break; case F_U: conv_u(pr, bp); @@ -705,7 +705,7 @@ static NOINLINE void display(priv_dumper_t* dumper) printf(pr->fmt, (unsigned long long) dumper->eaddress + dumper->pub.xxd_displayoff); break; case F_TEXT: - printf(pr->fmt); + fputs_stdout(pr->fmt); break; } } -- cgit v1.1