bufmgr: get the clients's app_name when the process is the root.
[platform/core/uifw/libtbm.git] / src / tbm_sync.c
index 9ebca2e..e126a36 100644 (file)
@@ -70,6 +70,7 @@ struct sync_merge_data {
 
 #define ERRNO_BUF_SIZE 256
 
+/* LCOV_EXCL_START */
 static inline void
 _log_errno()
 {
@@ -78,10 +79,10 @@ _log_errno()
        char    buf[ERRNO_BUF_SIZE];
 
        if (strerror_r(errnum, buf, ERRNO_BUF_SIZE) == 0) {
-               TBM_LOG_E("errno : %d(%s)\n", errnum, buf);
+               TBM_ERR("errno : %d(%s)\n", errnum, buf);
                return;
        } else {
-               TBM_LOG_E("errno : %d()\n", errnum);
+               TBM_ERR("errno : %d()\n", errnum);
                return;
        }
 }
@@ -182,3 +183,4 @@ tbm_sync_fence_merge(const char *name, tbm_fd fence1, tbm_fd fence2)
 
        return data.fence;
 }
+/* LCOV_EXCL_STOP */