diff options
author | Denys Vlasenko | 2023-05-26 13:39:33 +0200 |
---|---|---|
committer | Denys Vlasenko | 2023-05-26 13:39:33 +0200 |
commit | 8fab21114122c9abf54a750523a12bf263d5b0b2 (patch) | |
tree | f540c5e8407ee39a5b5bee148cf13d3bc721873a /libbb/dump.c | |
parent | de851bc9b2dcf3f5fad424172d08e850c8af7d62 (diff) | |
download | busybox-8fab21114122c9abf54a750523a12bf263d5b0b2.zip busybox-8fab21114122c9abf54a750523a12bf263d5b0b2.tar.gz |
libbb/dump: use fputs_stdout where appropriate
function old new delta
display 1485 1483 -2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/dump.c')
-rw-r--r-- | libbb/dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |