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 272c793745
commit 2af67b457f

View File

@ -2271,7 +2271,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}));