dmidecode/dmidecode-3.0-unmask_lrdimm.patch
2016-06-29 13:48:08 +02:00

13 lines
400 B
Diff

diff -up dmidecode-3.0/dmidecode.c.unmask_lrdimm dmidecode-3.0/dmidecode.c
--- dmidecode-3.0/dmidecode.c.unmask_lrdimm 2016-06-29 13:44:05.987255690 +0200
+++ dmidecode-3.0/dmidecode.c 2016-06-29 13:44:15.003150517 +0200
@@ -2392,7 +2392,7 @@ static void dmi_memory_device_type_detai
"LRDIMM" /* 15 */
};
- if ((code & 0x7FFE) == 0)
+ if ((code & 0xFFFE) == 0)
printf(" None");
else
{