Modify log string 76/135776/2
authorSeungha Son <seungha.son@samsung.com>
Mon, 26 Jun 2017 10:22:55 +0000 (19:22 +0900)
committerSon seungha <seungha.son@samsung.com>
Tue, 27 Jun 2017 08:26:37 +0000 (08:26 +0000)
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I6f05f27677318de9fe61db4bf50de1c04ead818e

src/main.c
src/notification_service.c
src/shortcut_service.c

index 7329b74..dd92856 100755 (executable)
@@ -186,7 +186,7 @@ int main(int argc, char *argv[])
                signal_handler = ecore_main_fd_handler_add(
                                ret, ECORE_FD_READ, signal_cb,
                                NULL, NULL, NULL);
-               CRITICAL_LOG("Signal handler initiated: %d\n", ret);
+               CRITICAL_LOG("Signal handler initialized: %d\n", ret);
        }
 
        app_create();
index be78fb6..65104f1 100755 (executable)
@@ -2306,7 +2306,7 @@ HAPI int notification_service_init(void)
        if (uids)
                free(uids);
 
-       DbgPrint("Successfully initiated\n");
+       DbgPrint("Successfully initialized\n");
        return NOTIFICATION_ERROR_NONE;
 }
 
index 7a4e8b9..2ea9e92 100755 (executable)
@@ -357,13 +357,17 @@ int shortcut_send_return_value(GVariant *parameters, GVariant **reply_body)
  */
 HAPI int shortcut_service_init(void)
 {
-       DbgPrint("Successfully initiated\n");
        int result;
        _monitoring_hash = g_hash_table_new(g_direct_hash, g_direct_equal);
        _invocation_hash = g_hash_table_new_full(g_str_hash, g_str_equal, free, NULL);
+
        result = shortcut_register_dbus_interface();
-       if (result != SERVICE_COMMON_ERROR_NONE)
+       if (result != SERVICE_COMMON_ERROR_NONE) {
                ErrPrint("shortcut register dbus fail %d", result);
+               return result;
+       }
+
+       DbgPrint("Successfully initialized\n");
        return result;
 }