diff options
author | Jean Delvare <[email protected]> | 2020-03-23 16:47:20 +0100 |
---|---|---|
committer | Jean Delvare <[email protected]> | 2020-03-23 16:47:20 +0100 |
commit | 65438a7ec0f4cddccf810136da6f280bd148af71 (patch) | |
tree | 3ead76917b75aef7ef58bd064c7b77b2246543dc | |
parent | 62bce59fed14c1cf57ce6cb7b208a9fccda3f4a5 (diff) | |
download | dmidecode-65438a7ec0f4cddccf810136da6f280bd148af71.tar.gz |
dmidecode: Print type 33 name unconditionally
Even if a type 33 structure is too short, we can still display its
type name as we do for all other structure types.
Signed-off-by: Jean Delvare <[email protected]>
-rw-r--r-- | dmidecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dmidecode.c b/dmidecode.c index 8ebd862..71c166f 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -4807,8 +4807,8 @@ static void dmi_decode(const struct dmi_header *h, u16 ver) break; case 33: /* 7.34 64-bit Memory Error Information */ - if (h->length < 0x1F) break; printf("64-bit Memory Error Information\n"); + if (h->length < 0x1F) break; printf("\tType: %s\n", dmi_memory_error_type(data[0x04])); printf("\tGranularity: %s\n", |