2019-08-26 14:38:06 +02:00
|
|
|
From: Deomid rojer Ryabkov <rojer9@fb.com>
|
|
|
|
Date: Mon, 26 Aug 2019 14:20:15 +0200
|
2019-10-23 15:34:54 +02:00
|
|
|
Subject: Fix formatting of TPM table output
|
|
|
|
Git-commit: 1d0db85949a5bdd96375f6131d393a11204302a6
|
|
|
|
Patch-mainline: yes
|
2019-08-26 14:38:06 +02:00
|
|
|
|
|
|
|
Added missing newlines.
|
|
|
|
|
|
|
|
Fixes: 48a8132058a0 ("dmidecode: Add support for structure type 43 (TPM Device)")
|
|
|
|
|
|
|
|
---
|
|
|
|
dmidecode.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
--- dmidecode-3.2.orig/dmidecode.c 2019-08-26 14:35:26.209257695 +0200
|
|
|
|
+++ dmidecode-3.2/dmidecode.c 2019-08-26 14:35:28.271284010 +0200
|
|
|
|
@@ -4991,7 +4991,7 @@ static void dmi_decode(const struct dmi_
|
|
|
|
printf("\tVendor ID:");
|
|
|
|
dmi_tpm_vendor_id(data + 0x04);
|
|
|
|
printf("\n");
|
|
|
|
- printf("\tSpecification Version: %d.%d", data[0x08], data[0x09]);
|
|
|
|
+ printf("\tSpecification Version: %d.%d\n", data[0x08], data[0x09]);
|
|
|
|
switch (data[0x08])
|
|
|
|
{
|
|
|
|
case 0x01:
|
|
|
|
@@ -5014,7 +5014,7 @@ static void dmi_decode(const struct dmi_
|
|
|
|
*/
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
- printf("\tDescription: %s", dmi_string(h, data[0x12]));
|
|
|
|
+ printf("\tDescription: %s\n", dmi_string(h, data[0x12]));
|
|
|
|
printf("\tCharacteristics:\n");
|
|
|
|
dmi_tpm_characteristics(QWORD(data + 0x13), "\t\t");
|
|
|
|
if (h->length < 0x1F) break;
|