Correct mistake in the FRU parsing code in the product area
This commit is contained in:
parent
272c793745
commit
2af67b457f
@ -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}));
|
||||
|
Loading…
Reference in New Issue
Block a user