enhance log during loading backend module 68/84468/1
authorBoram Park <boram1288.park@samsung.com>
Fri, 19 Aug 2016 01:43:40 +0000 (10:43 +0900)
committerBoram Park <boram1288.park@samsung.com>
Fri, 19 Aug 2016 01:44:01 +0000 (10:44 +0900)
Change-Id: I362f196ac7d5e3acf040f6a38448d4c742cb9dc2

src/tdm.c

index 8c7843a..371553d 100644 (file)
--- a/src/tdm.c
+++ b/src/tdm.c
@@ -756,7 +756,7 @@ _tdm_display_load_module_with_file(tdm_private_display *private_display,
        private_display->bdata = module_data->init((tdm_display *)private_display, &ret);
        TDM_TRACE_END();
        if (ret != TDM_ERROR_NONE) {
-               TDM_ERR("'%s' init failed", file);
+               TDM_ERR("failed to init '%s' module", module_data->name);
                goto failed_load;
        }
 
@@ -767,7 +767,7 @@ _tdm_display_load_module_with_file(tdm_private_display *private_display,
                goto failed_load;
        }
 
-       TDM_INFO("Success to load module(%s)", file);
+       TDM_INFO("Success to load '%s' module", module_data->name);
 
        return TDM_ERROR_NONE;
 failed_load: