diff options
author | Denys Vlasenko | 2023-05-26 14:46:29 +0200 |
---|---|---|
committer | Denys Vlasenko | 2023-05-26 14:46:29 +0200 |
commit | 283cba78f2c9ea8478ef58ba616197df31640353 (patch) | |
tree | f47301d8ad84ae37c04e2ea9cf5d5f26defa384f /util-linux/hexdump_xxd.c | |
parent | 34751d8bf921a2c07cf9a7ce9074756a3d936013 (diff) | |
download | busybox-283cba78f2c9ea8478ef58ba616197df31640353.zip busybox-283cba78f2c9ea8478ef58ba616197df31640353.tar.gz |
hexdump, xxd: shrink strings
function old new delta
add_first 12 10 -2
.rodata 105321 105306 -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-17) Total: -17 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/hexdump_xxd.c')
-rw-r--r-- | util-linux/hexdump_xxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/hexdump_xxd.c b/util-linux/hexdump_xxd.c index 9738a76..636cbfe 100644 --- a/util-linux/hexdump_xxd.c +++ b/util-linux/hexdump_xxd.c @@ -285,7 +285,7 @@ int xxd_main(int argc UNUSED_PARAM, char **argv) // output is " 0xXX, 0xXX, 0xXX...", add leading space bb_dump_add(dumper, "\" \""); } else - bb_dump_add(dumper, "\"%08.8_ax: \""); // "address: " + bb_dump_add(dumper, "\"%08_ax: \""); // "address: " } if (bytes < 1 || bytes >= cols) { |