[PATCH phosphor-host-ipmid] rename watchdog interface because it was renamed on the dbus side
OpenBMC Patches
patches at stwcx.xyz
Fri Oct 30 23:43:04 AEDT 2015
From: Chris Austen <austenc at us.ibm.com>
---
apphandler.C | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apphandler.C b/apphandler.C
index 109aaa9..5d81fb4 100644
--- a/apphandler.C
+++ b/apphandler.C
@@ -182,7 +182,7 @@ ipmi_ret_t ipmi_app_set_watchdog(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
ipmi_data_len_t data_len, ipmi_context_t context)
{
const char *busname = "org.openbmc.watchdog.Host";
- const char *objname = "/org/openbmc/watchdog/HostWatchdog_0";
+ const char *objname = "/org/openbmc/watchdog/host0";
const char *iface = "org.openbmc.Watchdog";
sd_bus_message *reply = NULL, *m = NULL;
sd_bus_error error = SD_BUS_ERROR_NULL;
@@ -259,7 +259,7 @@ ipmi_ret_t ipmi_app_reset_watchdog(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
ipmi_data_len_t data_len, ipmi_context_t context)
{
const char *busname = "org.openbmc.watchdog.Host";
- const char *objname = "/org/openbmc/watchdog/HostWatchdog_0";
+ const char *objname = "/org/openbmc/watchdog/host0";
const char *iface = "org.openbmc.Watchdog";
sd_bus_message *reply = NULL, *m = NULL;
sd_bus_error error = SD_BUS_ERROR_NULL;
--
2.6.0
More information about the openbmc
mailing list