FRU: pldmresponder: fix width of PLDM entity type
One of the APIs had the entity type wrongly set at a byte. Entity type
is two bytes.
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: Idd1b4cb425efab738a1ec23ed0a0fca3b903f194
diff --git a/tool/pldm_platform_cmd.cpp b/tool/pldm_platform_cmd.cpp
index d3ca8f7..387f03f 100644
--- a/tool/pldm_platform_cmd.cpp
+++ b/tool/pldm_platform_cmd.cpp
@@ -89,7 +89,7 @@
{11521, "System (logical)"},
};
- std::string getEntityName(uint8_t type)
+ std::string getEntityName(uint16_t type)
{
try
{