38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
|
From 1d0db85949a5bdd96375f6131d393a11204302a6 Mon Sep 17 00:00:00 2001
|
||
|
From: Deomid rojer Ryabkov <rojer9@fb.com>
|
||
|
Date: Mon, 26 Aug 2019 14:20:15 +0200
|
||
|
Subject: [PATCH 12/18] Fix formatting of TPM table output
|
||
|
|
||
|
Added missing newlines.
|
||
|
|
||
|
Fixes: 48a8132058a0 ("dmidecode: Add support for structure type 43 (TPM Device)")
|
||
|
---
|
||
|
dmidecode.c | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/dmidecode.c b/dmidecode.c
|
||
|
index 5372c38..cff7d3f 100644
|
||
|
--- a/dmidecode.c
|
||
|
+++ b/dmidecode.c
|
||
|
@@ -4997,7 +4997,7 @@ static void dmi_decode(const struct dmi_header *h, u16 ver)
|
||
|
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:
|
||
|
@@ -5020,7 +5020,7 @@ static void dmi_decode(const struct dmi_header *h, u16 ver)
|
||
|
*/
|
||
|
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;
|
||
|
--
|
||
|
2.24.0
|
||
|
|