remove IPMI_CC_OK
Since IPMI_CC_OK declared in api.h has been gradually deprecated,
this submission will use ipmi::ccSuccess in api.hpp instead.
Change-Id: Iabc1e7172b5872a5fc94dad16cb3fcf71ca6cb3c
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/dbus-sdr/sensorcommands.cpp b/dbus-sdr/sensorcommands.cpp
index 2ef33b9..816c9b2 100644
--- a/dbus-sdr/sensorcommands.cpp
+++ b/dbus-sdr/sensorcommands.cpp
@@ -691,7 +691,7 @@
// handle fru records
get_sdr::SensorDataFruRecord data;
if (ipmi::Cc ret = ipmi::storage::getFruSdrs(ctx, sdrIndex, data);
- ret != IPMI_CC_OK)
+ ret != ipmi::ccSuccess)
{
return GENERAL_ERROR;
}