summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-04-11 00:46:45 +0100
committerLeah Rowe <leah@libreboot.org>2023-04-11 00:46:45 +0100
commit903fa5905679c0417015a48be77098d770707e5b (patch)
treef8c84f8afcf7291e47ddb3e1d5940c7cd3eac3e9 /util
parent65d7e7c1ddddf2fbd6f5d49c4d0f437e034bb02e (diff)
util/nvmutil: don't display errant whitespace
At the end of each line is an errant space. Fix that.
Diffstat (limited to 'util')
-rw-r--r--util/nvmutil/nvmutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index b35d4ddf..d7d3fa60 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -269,10 +269,10 @@ void
hexdump(int partnum)
{
for (int row = 0; row < 8; row++) {
- printf("%07x ", row << 4);
+ printf("%07x", row << 4);
for (int c = 0; c < 8; c++) {
uint16_t val16 = word((row << 3) + c, partnum);
- printf("%02x%02x ", val16 >> 8, val16 & 0xff);
+ printf(" %02x%02x", val16 >> 8, val16 & 0xff);
}
printf("\n");
}