aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass2021-05-08 07:00:00 -0600
committerTom Rini2021-06-08 11:39:09 -0400
commitc7b16d830e72372a1af54af94f0e83fcc2b1a0fb (patch)
treea6c532a9dce1e0f098f5f2d5d13bec476a8b0878 /lib
parentc614ddf28b064d1de18b97edb6d0f5b91ce70376 (diff)
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 'lib')
-rw-r--r--lib/display_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/display_options.c b/lib/display_options.c
index cd48998b6d4..7752baba2bd 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;