display_options: Drop two spaces before the ASCII column

At present with print_buffer() U-Boot shows four spaces between the hex
and ASCII data. Two seems enough and matches print_hex_dump(). Change it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2021-05-08 07:00:00 -06:00 committed by Tom Rini
parent c614ddf28b
commit c7b16d830e
5 changed files with 34 additions and 34 deletions

View File

@ -151,7 +151,7 @@ int ut_check_console_dump(struct unit_test_state *uts, int total_bytes)
if (str[8] != ':' || str[9] != ' ')
return 1;
bytes = len - 8 - 2 - 3 * 16 - 4;
bytes = len - 8 - 2 - 3 * 16 - 2;
upto += bytes;
}