summaryrefslogtreecommitdiff
path: root/test/ut.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-05-08 16:00:00 +0300
committerTom Rini <trini@konsulko.com>2021-06-08 18:39:09 +0300
commitc7b16d830e72372a1af54af94f0e83fcc2b1a0fb (patch)
treea6c532a9dce1e0f098f5f2d5d13bec476a8b0878 /test/ut.c
parentc614ddf28b064d1de18b97edb6d0f5b91ce70376 (diff)
downloadu-boot-c7b16d830e72372a1af54af94f0e83fcc2b1a0fb.tar.xz
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>
Diffstat (limited to 'test/ut.c')
-rw-r--r--test/ut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ut.c b/test/ut.c
index 350509a292..1eec2a57df 100644
--- a/test/ut.c
+++ b/test/ut.c
@@ -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;
}