From 2af67b457fbae3a797100213a71bd5532e18b596 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 20 Jun 2014 14:53:16 -0400 Subject: [PATCH] Correct mistake in the FRU parsing code in the product area --- xCAT-server/lib/xcat/plugins/ipmi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index e5d2dd712..6138d0c86 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -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}));