diff options
author | khali <khali> | 2010-11-11 21:14:02 +0000 |
---|---|---|
committer | khali <khali> | 2010-11-11 21:14:02 +0000 |
commit | 9c5c7edb411b446449cd0d0edcb5b97a93dde3d4 (patch) | |
tree | 309819c7d00bcfcbb00ac4bb9d93cd5e716b2636 /dmidecode.c | |
parent | e6c62054fa533f217ecff44dd78aac97cc0b6d90 (diff) | |
download | dmidecode-9c5c7edb411b446449cd0d0edcb5b97a93dde3d4.tar.gz |
Fix decoding of IPMI base address LSB.
Diffstat (limited to 'dmidecode.c')
-rw-r--r-- | dmidecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dmidecode.c b/dmidecode.c index 26c43f4..012a348 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -3867,7 +3867,7 @@ static void dmi_decode(const struct dmi_header *h, u16 ver) printf("\tNV Storage Device: Not Present\n"); printf("\tBase Address: "); dmi_ipmi_base_address(data[0x04], data + 0x08, - h->length < 0x12 ? 0 : (data[0x10] >> 5) & 1); + h->length < 0x11 ? 0 : (data[0x10] >> 4) & 1); printf("\n"); if (h->length < 0x12) break; if (data[0x04] != 0x04) |