f308d382bd
- dmidecode-fix-system-slot-information-for-pcie-ssd.patch: Fix System Slot Information for PCIe SSD. Partial support for SMBIOS 3.3.0: - dmidecode-add-enumerated-values-from-smbios-3.3.0.patch: Add enumerated values from SMBIOS 3.3.0 (bsc#1153533). OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=54
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From: Deomid rojer Ryabkov <rojer9@fb.com>
|
|
Date: Mon, 26 Aug 2019 14:20:15 +0200
|
|
Subject: Fix formatting of TPM table output
|
|
Git-commit: 1d0db85949a5bdd96375f6131d393a11204302a6
|
|
Patch-mainline: yes
|
|
|
|
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;
|