diff options
author | Ron Yorston <rmy@pobox.com> | 2021-01-27 12:46:44 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-01-27 12:46:44 +0000 |
commit | be23fca994e1dd8b81ea49cb735834e4008839fb (patch) | |
tree | 3bee2e53aa2fda477b7a99437961a1f8f3ca2e57 /init | |
parent | 7e1c2cb3b2c917f799d406e186fa84dcac19e992 (diff) | |
download | busybox-w32-be23fca994e1dd8b81ea49cb735834e4008839fb.tar.gz busybox-w32-be23fca994e1dd8b81ea49cb735834e4008839fb.tar.bz2 busybox-w32-be23fca994e1dd8b81ea49cb735834e4008839fb.zip |
printf: code shrink
Instead of constructing null-terminated strings to print, output
the characters between the 's' and 't' pointers using fwrite().
This avoids having to output two separate strings when an escaped
literal NUL character is encountered in the format string.
Saves 32 bytes.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions