Blame SOURCES/0007-Fix-formatting-of-TPM-table-output.patch

33fd6c
From 1d0db85949a5bdd96375f6131d393a11204302a6 Mon Sep 17 00:00:00 2001
33fd6c
From: Deomid rojer Ryabkov <rojer9@fb.com>
33fd6c
Date: Mon, 26 Aug 2019 14:20:15 +0200
33fd6c
Subject: [PATCH 07/11] Fix formatting of TPM table output
33fd6c
33fd6c
Added missing newlines.
33fd6c
33fd6c
Fixes: 48a8132058a0 ("dmidecode: Add support for structure type 43 (TPM Device)")
33fd6c
---
33fd6c
 dmidecode.c | 4 ++--
33fd6c
 1 file changed, 2 insertions(+), 2 deletions(-)
33fd6c
33fd6c
diff --git a/dmidecode.c b/dmidecode.c
33fd6c
index 5372c38879b3..cff7d3f1941d 100644
33fd6c
--- a/dmidecode.c
33fd6c
+++ b/dmidecode.c
33fd6c
@@ -4997,7 +4997,7 @@ static void dmi_decode(const struct dmi_header *h, u16 ver)
33fd6c
 			printf("\tVendor ID:");
33fd6c
 			dmi_tpm_vendor_id(data + 0x04);
33fd6c
 			printf("\n");
33fd6c
-			printf("\tSpecification Version: %d.%d", data[0x08], data[0x09]);
33fd6c
+			printf("\tSpecification Version: %d.%d\n", data[0x08], data[0x09]);
33fd6c
 			switch (data[0x08])
33fd6c
 			{
33fd6c
 				case 0x01:
33fd6c
@@ -5020,7 +5020,7 @@ static void dmi_decode(const struct dmi_header *h, u16 ver)
33fd6c
 					 */
33fd6c
 					break;
33fd6c
 			}
33fd6c
-			printf("\tDescription: %s", dmi_string(h, data[0x12]));
33fd6c
+			printf("\tDescription: %s\n", dmi_string(h, data[0x12]));
33fd6c
 			printf("\tCharacteristics:\n");
33fd6c
 			dmi_tpm_characteristics(QWORD(data + 0x13), "\t\t");
33fd6c
 			if (h->length < 0x1F) break;
33fd6c
-- 
33fd6c
2.17.1
33fd6c