tbm_module: make tbm_module_bufmgr_bind_native_display
[platform/core/uifw/libtbm.git] / src / tbm_bufmgr_backend.c
index ad809ff..87d3c78 100644 (file)
@@ -44,7 +44,7 @@ tbm_bufmgr_backend tbm_backend_alloc(void)
 
        bufmgr_backend = calloc(1, sizeof(struct _tbm_bufmgr_backend));
        if (!bufmgr_backend) {
-               TBM_LOG_E("error: fail to allocate the bufmgr_backend\n");
+               TBM_ERR("error: fail to allocate the bufmgr_backend\n");
                return NULL;
        }
 
@@ -63,12 +63,12 @@ void tbm_backend_free(tbm_bufmgr_backend backend)
 int tbm_backend_init(tbm_bufmgr bufmgr, tbm_bufmgr_backend backend)
 {
        if (!bufmgr) {
-               TBM_LOG_E("error: fail to init tbm backend... bufmgr is null\n");
+               TBM_ERR("error: fail to init tbm backend... bufmgr is null\n");
                return 0;
        }
 
        if (!backend) {
-               TBM_LOG_E("error: fail to init tbm backend... backend is null\n");
+               TBM_ERR("error: fail to init tbm backend... backend is null\n");
                return 0;
        }
 
@@ -113,7 +113,7 @@ int tbm_backend_is_display_server(void)
        const char *value;
 
        if (gBufMgr == NULL) {
-               TBM_LOG_E("error: no gBufMgr.\n");
+               TBM_ERR("error: no gBufMgr.\n");
                return 0;
        }