26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
|
|
diff --git a/fault-monitor/fru-fault-monitor.cpp b/fault-monitor/fru-fault-monitor.cpp
|
||
|
|
index 3c63735..d5d6703 100644
|
||
|
|
--- a/fault-monitor/fru-fault-monitor.cpp
|
||
|
|
+++ b/fault-monitor/fru-fault-monitor.cpp
|
||
|
|
@@ -181,7 +181,7 @@ static void setDiscreteSensorStatusValue(sdbusplus::bus::bus& bus,
|
||
|
|
// ipmi spec 42.2 set the sensor-specific offset
|
||
|
|
double statusValue = reserved;
|
||
|
|
|
||
|
|
- constexpr auto service = "xyz.openbmc_project.dissen";
|
||
|
|
+ constexpr auto service = "xyz.openbmc_project.EntityManager";
|
||
|
|
constexpr auto dbusProperties = "org.freedesktop.DBus.Properties";
|
||
|
|
constexpr auto statusInterface = "xyz.openbmc_project.Configuration.Status";
|
||
|
|
|
||
|
|
@@ -487,11 +487,6 @@ void Add::filterSEL(sdbusplus::bus::bus& bus, const std::string& path)
|
||
|
|
if (std::string::npos != nStr)
|
||
|
|
{
|
||
|
|
sensorPath = item.substr(nStr + strlen("SENSOR_PATH="));
|
||
|
|
- std::string sensorPathTmp = sensorPath;
|
||
|
|
- size_t pos = sensorPathTmp.rfind('/');
|
||
|
|
- if (pos != std::string::npos){
|
||
|
|
- sensorPath = "/xyz/openbmc_project/sensors/status/" + sensorPathTmp.substr(pos + 1);
|
||
|
|
- }
|
||
|
|
std::cerr << "sensorPath " << sensorPath <<"\n";
|
||
|
|
}
|
||
|
|
}
|