From: Hyotaek Shim Date: Fri, 5 Jun 2020 02:26:45 +0000 (+0900) Subject: Fix error log X-Git-Tag: submit/tizen/20200611.052854~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=638feaa8e13fe4f45d52c1bb070dc953e3ef0d32;p=platform%2Fcore%2Fapi%2Fdevice.git Fix error log Change-Id: I180f802a0c43e782e2e124f0d11fa5b0ff93d31c Signed-off-by: Hyotaek Shim --- diff --git a/src/dbus.c b/src/dbus.c index 14891bf..08869af 100644 --- a/src/dbus.c +++ b/src/dbus.c @@ -259,7 +259,7 @@ int dbus_method_sync_var(const char *dest, const char *path, //LCOV_EXCL_START System Error if (!proxy) { pthread_mutex_unlock(&dmutex); - _E("fail to get proxy from proxy pool : %s-%s (%d-%s)", + _E("fail to get proxy from proxy pool : %s.%s (%d-%s)", interface, method, err->code, err->message); result = g_dbus_error_to_errno(err->code); g_clear_error(&err); @@ -278,11 +278,11 @@ int dbus_method_sync_var(const char *dest, const char *path, //LCOV_EXCL_START System Error if (!output) { if (!err) { - _E("g_dbus_proxy_call_sync error : %s-%s", + _E("g_dbus_proxy_call_sync error : %s.%s", interface, method); return -EPERM; } - _E("g_dbus_proxy_call_sync error : %s-%s (%d-%s)", + _E("g_dbus_proxy_call_sync error : %s.%s (%d-%s)", interface, method, err->code, err->message); result = g_dbus_error_to_errno(err->code); g_clear_error(&err); @@ -327,7 +327,7 @@ int dbus_method_sync_with_reply_var(const char *dest, if (!proxy) { //LCOV_EXCL_START System Error pthread_mutex_unlock(&dmutex); - _E("fail to get proxy from proxy pool : %s-%s (%d-%s)", + _E("fail to get proxy from proxy pool : %s.%s (%d-%s)", interface, method, err->code, err->message); result = g_dbus_error_to_errno(err->code); g_clear_error(&err); @@ -346,11 +346,11 @@ int dbus_method_sync_with_reply_var(const char *dest, if (!output) { //LCOV_EXCL_START System Error if (!err) { - _E("g_dbus_proxy_call_sync error : %s-%s", + _E("g_dbus_proxy_call_sync error : %s.%s", interface, method); return -EPERM; } - _E("g_dbus_proxy_call_sync error : %s-%s (%d-%s)", + _E("g_dbus_proxy_call_sync error : %s.%s (%d-%s)", interface, method, err->code, err->message); result = g_dbus_error_to_errno(err->code); g_clear_error(&err); @@ -421,7 +421,7 @@ int dbus_method_async_with_reply_var(const char *dest, const char *path, if (!proxy) { //LCOV_EXCL_START System Error pthread_mutex_unlock(&dmutex); - _E("fail to get proxy from proxy pool : %s-%s (%d-%s)", + _E("fail to get proxy from proxy pool : %s.%s (%d-%s)", interface, method, err->code, err->message); result = g_dbus_error_to_errno(err->code); g_clear_error(&err); @@ -432,7 +432,7 @@ int dbus_method_async_with_reply_var(const char *dest, const char *path, pdata = malloc(sizeof(struct pending_call_data)); if (!pdata) { pthread_mutex_unlock(&dmutex); - _E("malloc error : %s-%s", //LCOV_EXCL_LINE + _E("malloc error : %s.%s", //LCOV_EXCL_LINE interface, method); return -ENOMEM; }