summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2020-05-19 14:14:10 +0900
committerYoungjae Cho <y0.cho@samsung.com>2020-05-19 14:14:10 +0900
commit2729ca0f689e94511eac16d8c8b79ca8c86d081e (patch)
treec8d48902667c7d03464e1eb3dc5a29b792b9874e
parentab90b68b647474eb3ec3015081bb4e63f136ce68 (diff)
downloadargos_watchdog-tizen_8.0.tar.gz
argos_watchdog-tizen_8.0.tar.bz2
argos_watchdog-tizen_8.0.zip
Change-Id: I515c3674d9a7acc3bac640dd72662991589a0ab7 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rw-r--r--src/argos_dbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/argos_dbus.c b/src/argos_dbus.c
index 69539cd..4720e32 100644
--- a/src/argos_dbus.c
+++ b/src/argos_dbus.c
@@ -22,8 +22,8 @@
#include <unistd.h>
#define RESOURCED_DBUS_BUS_NAME "org.tizen.resourced"
-#define RESOURCED_PATH_PROCESS "/Org/Tizen/ResourceD/Watchdog"
-#define RESOURCED_INTERFACE_PROCESS "org.tizen.resourced.watchdog"
+#define RESOURCED_PATH_WATCHDOG "/Org/Tizen/ResourceD/Watchdog"
+#define RESOURCED_INTERFACE_WATCHDOG "org.tizen.resourced.watchdog"
#define WATCHDOG_START "Start"
static unsigned int dbus_watchdog_timeout=0;
@@ -42,7 +42,7 @@ static int aw_send_watchdog(unsigned int timeout)
param = g_variant_new("(iu)", getpid(), timeout);
g_dbus_connection_call(g_dbus_conn, RESOURCED_DBUS_BUS_NAME,
- RESOURCED_PATH_PROCESS, RESOURCED_INTERFACE_PROCESS, WATCHDOG_START,
+ RESOURCED_PATH_WATCHDOG, RESOURCED_INTERFACE_WATCHDOG, WATCHDOG_START,
param, NULL, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL, NULL);
return ret;