mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02: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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user