Fix wathcdog macro name 74/233774/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/6.5/unified/20211028.114031 accepted/tizen/7.0/unified/20221110.061544 accepted/tizen/7.0/unified/hotfix/20221116.105650 accepted/tizen/8.0/unified/20231005.093723 accepted/tizen/unified/20201105.124403 submit/tizen/20201104.064817 submit/tizen_6.5/20211028.162501 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 19 May 2020 05:14:10 +0000 (14:14 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Tue, 19 May 2020 05:14:10 +0000 (14:14 +0900)
Change-Id: I515c3674d9a7acc3bac640dd72662991589a0ab7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/argos_dbus.c

index 69539cd..4720e32 100644 (file)
@@ -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;