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

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