2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

Correct mistake in DDR4 DIMM parsing

This was not observed to cause any problems, but would in theory
behave in a peculiar fashion in some otherwise valid circumstances.
This commit is contained in:
jjohnson2 2015-04-22 12:10:00 -04:00
parent 70fed4164b
commit 6a54cb38f7

View File

@ -811,7 +811,7 @@ sub decode_spd {
$rethash->{product}->{manufacturer} = decode_manufacturer($spd[320],$spd[321]);
$rethash->{product}->{buildlocation} = sprintf("%02x",$spd[322]);
if ($spd[120] != 0 or $spd[121] != 0) {
if ($spd[323] != 0 or $spd[324] != 0) {
$rethash->{product}->{builddate} = sprintf("Week %x of 20%02x",$spd[323],$spd[324]);
}
foreach (@spd[329..348]) {