mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
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:
parent
c614ddf28b
commit
c7b16d830e
@ -151,7 +151,7 @@ int ut_check_console_dump(struct unit_test_state *uts, int total_bytes)
|
|||||||
if (str[8] != ':' || str[9] != ' ')
|
if (str[8] != ':' || str[9] != ' ')
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
bytes = len - 8 - 2 - 3 * 16 - 4;
|
bytes = len - 8 - 2 - 3 * 16 - 2;
|
||||||
upto += bytes;
|
upto += bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user