Fix invalid log tag and return value
[platform/core/uifw/stt.git] / server / sttd_dbus.c
index cf69d02..3efb328 100644 (file)
@@ -653,8 +653,8 @@ int __sttd_request_custom_dbus_name()
        }
 
        if (NULL == g_conn_custom) {
-               SLOG(LOG_ERROR, TAG_STTC, "[ERROR] fail to get dbus connection");
-               return STT_ERROR_OPERATION_FAILED;
+               SLOG(LOG_ERROR, TAG_STTD, "[ERROR] fail to get dbus connection");
+               return STTD_ERROR_OPERATION_FAILED;
        }
 
        dbus_connection_set_exit_on_disconnect(g_conn_custom, false);