Add types 44, 45 and 46 to dmi_smbios_structure_type().

Signed-off-by: Jean Delvare <jdelv...@suse.de>
---
 dmidecode.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- dmidecode.orig/dmidecode.c  2022-05-30 13:02:37.042501022 +0200
+++ dmidecode/dmidecode.c       2022-05-30 13:06:10.898177601 +0200
@@ -203,12 +203,15 @@ static const char *dmi_smbios_structure_
                "Additional Information",
                "Onboard Device",
                "Management Controller Host Interface",
-               "TPM Device", /* 43 */
+               "TPM Device",
+               "Processor",
+               "Firmware",
+               "String Property" /* 46 */
        };
 
        if (code >= 128)
                return "OEM-specific";
-       if (code <= 43)
+       if (code <= 46)
                return type[code];
        return out_of_spec;
 }


-- 
Jean Delvare
SUSE L3 Support

_______________________________________________
https://lists.nongnu.org/mailman/listinfo/dmidecode-devel

Reply via email to