Correct mistake in the FRU parsing code in the product area

This commit is contained in:
Jarrod Johnson 2014-06-20 14:53:16 -04:00
parent 15f6241aeb
commit a8e96b90e6

View File

@ -2225,7 +2225,7 @@ sub initfru_zero {
$fru = FRU->new();
$fru->rec_type("misc");
$fru->desc("System Manufacturer");
if ($fruhash->{product}->{product}->{encoding}==3) {
if ($fruhash->{product}->{manufacturer}->{encoding}==3) {
$fru->value($fruhash->{product}->{manufacturer}->{value});
} else {
$fru->value(phex($fruhash->{product}->{manufacturer}->{value}));