diff options
-rw-r--r-- | util-linux/hexdump.c | 4 | ||||
-rw-r--r-- | util-linux/hexdump_xxd.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c index 4b536e1c2..a4483a114 100644 --- a/util-linux/hexdump.c +++ b/util-linux/hexdump.c | |||
@@ -127,8 +127,8 @@ int hexdump_main(int argc, char **argv) | |||
127 | if (ch == 'C') { | 127 | if (ch == 'C') { |
128 | hd_applet: | 128 | hd_applet: |
129 | bb_dump_add(dumper, "\"%08.8_Ax\n\""); // final address line after dump | 129 | bb_dump_add(dumper, "\"%08.8_Ax\n\""); // final address line after dump |
130 | //------------------- "address " 8 * "xx " " " 8 * "xx " | 130 | //------------------- "address " 8 * "xx " " " 8 * "xx " |
131 | bb_dump_add(dumper, "\"%08.8_ax \"8/1 \"%02x \" \" \"8/1 \"%02x \""); | 131 | bb_dump_add(dumper, "\"%08.8_ax \"8/1 \"%02x \"\" \"8/1 \"%02x \""); |
132 | //------------------- " |ASCII...........|\n" | 132 | //------------------- " |ASCII...........|\n" |
133 | bb_dump_add(dumper, "\" |\"16/1 \"%_p\"\"|\n\""); | 133 | bb_dump_add(dumper, "\" |\"16/1 \"%_p\"\"|\n\""); |
134 | } | 134 | } |
diff --git a/util-linux/hexdump_xxd.c b/util-linux/hexdump_xxd.c index 3a7e64bb9..813e7fe57 100644 --- a/util-linux/hexdump_xxd.c +++ b/util-linux/hexdump_xxd.c | |||
@@ -125,7 +125,7 @@ int xxd_main(int argc UNUSED_PARAM, char **argv) | |||
125 | free(bigbuf); | 125 | free(bigbuf); |
126 | } | 126 | } |
127 | 127 | ||
128 | sprintf(buf, "\" \" %u/1 \"%%_p\" \"\n\"", cols); // " ASCII\n" | 128 | sprintf(buf, "\" \"%u/1 \"%%_p\"\"\n\"", cols); // " ASCII\n" |
129 | bb_dump_add(dumper, buf); | 129 | bb_dump_add(dumper, buf); |
130 | 130 | ||
131 | return bb_dump_dump(dumper, argv); | 131 | return bb_dump_dump(dumper, argv); |