From c7b16d830e72372a1af54af94f0e83fcc2b1a0fb Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 8 May 2021 07:00:00 -0600 Subject: 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 --- lib/display_options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/display_options.c') diff --git a/lib/display_options.c b/lib/display_options.c index cd48998..7752bab 100644 --- a/lib/display_options.c +++ b/lib/display_options.c @@ -189,7 +189,7 @@ int print_buffer(ulong addr, const void *data, uint width, uint count, lb.uc[i] = '.'; } lb.uc[i] = '\0'; - printf(" %s\n", lb.uc); + printf(" %s\n", lb.uc); /* update references */ addr += thislinelen * width; -- cgit v1.1