forked from pool/python-dmidecode
New package which we have in SLE already. OBS-URL: https://build.opensuse.org/request/show/957140 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=1
16 lines
716 B
Diff
16 lines
716 B
Diff
---
|
|
src/dmidecode.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/src/dmidecode.c
|
|
+++ b/src/dmidecode.c
|
|
@@ -4533,7 +4533,7 @@ xmlNode *dmi_decode(xmlNode *prnt_n, dmi
|
|
dmi_memory_device_width(sect_n, "TotalWidth", WORD(data + 0x08));
|
|
dmi_memory_device_width(sect_n, "DataWidth", WORD(data + 0x0A));
|
|
if (h->length >= 0x20 && WORD(data + 0x0C) == 0x7FFF) {
|
|
- dmi_memory_device_extended_size(sect_n, WORD(data + 0x1C));
|
|
+ dmi_memory_device_extended_size(sect_n, DWORD(data + 0x1C));
|
|
} else {
|
|
dmi_memory_device_size(sect_n, WORD(data + 0x0C));
|
|
}
|