Rename function `formatFRU` to `formatIPMIFRU`
`FruDevice` can parse FRU content more than IPMI format.
Rename the function to a more specific name.
Signed-off-by: Michael Shen <gpgpgp@google.com>
Change-Id: If24f9cb0d51bb18c924b800fee595f52f85673dc
diff --git a/src/FruUtils.cpp b/src/FruUtils.cpp
index 940f8c8..1152f87 100644
--- a/src/FruUtils.cpp
+++ b/src/FruUtils.cpp
@@ -256,8 +256,9 @@
return true;
}
-resCodes formatFRU(const std::vector<uint8_t>& fruBytes,
- boost::container::flat_map<std::string, std::string>& result)
+resCodes
+ formatIPMIFRU(const std::vector<uint8_t>& fruBytes,
+ boost::container::flat_map<std::string, std::string>& result)
{
resCodes ret = resCodes::resOK;
if (fruBytes.size() <= fruBlockSize)