From 903fa5905679c0417015a48be77098d770707e5b Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Tue, 11 Apr 2023 00:46:45 +0100
Subject: [PATCH] util/nvmutil: don't display errant whitespace

At the end of each line is an errant space.

Fix that.
---
 util/nvmutil/nvmutil.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index b35d4dd..d7d3fa6 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");
 	}
-- 
GitLab