summaryrefslogtreecommitdiffstats
path: root/read_fru_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'read_fru_data.cpp')
-rw-r--r--read_fru_data.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/read_fru_data.cpp b/read_fru_data.cpp
index 1a1949d..327f552 100644
--- a/read_fru_data.cpp
+++ b/read_fru_data.cpp
@@ -138,8 +138,9 @@ FruInventoryData readDataFromInventory(const FRUId& fruNum)
if (iter != allProp.end())
{
data[properties.second.section].emplace(
- properties.first, std::move(std::get<std::string>(
- allProp[properties.first])));
+ properties.second.property,
+ std::move(
+ std::get<std::string>(allProp[properties.first])));
}
}
}
OpenPOWER on IntegriCloud