diff options
author | David Sommerseth <davids@redhat.com> | 2009-06-11 10:50:31 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-06-11 10:50:31 +0200 |
commit | 9864a51dafd953c497210b6f11e49bb299080dc8 (patch) | |
tree | 06b7515718f13eb1c30c8d3e5db9c3b042265b94 /src/dmidecode.h | |
parent | b3f5e9f97e283f2f23f36251b971458f805c6893 (diff) | |
download | python-dmidecode-9864a51dafd953c497210b6f11e49bb299080dc8.tar.gz python-dmidecode-9864a51dafd953c497210b6f11e49bb299080dc8.tar.xz python-dmidecode-9864a51dafd953c497210b6f11e49bb299080dc8.zip |
Fixed crashes and unexpected behaviour on unknown DMI/SMBIOS types
Also provide more useful information, both on unsupported types and
types not found on the hardware
Diffstat (limited to 'src/dmidecode.h')
-rw-r--r-- | src/dmidecode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dmidecode.h b/src/dmidecode.h index f0cb1ab..81cd249 100644 --- a/src/dmidecode.h +++ b/src/dmidecode.h @@ -30,7 +30,7 @@ struct dmi_header { }; void dmi_dump(xmlNode *node, struct dmi_header * h); -xmlNode *dmi_decode(xmlNode *parent_n, struct dmi_header * h, u16 ver); +xmlNode *dmi_decode(xmlNode *parent_n, dmi_codes_major *dmiMajor, struct dmi_header * h, u16 ver); int address_from_efi(size_t * address); void to_dmi_header(struct dmi_header *h, u8 * data); |