From 74f2fbf9fdfb7821f2596df679c4ea8873697eeb Mon Sep 17 00:00:00 2001 From: junkyu Han Date: Thu, 1 Oct 2015 16:35:05 +0900 Subject: [PATCH] Consider NULL after pkgmgrinfo Change-Id: I7e9f9c44bbc08aea316e204d028e59b871e5e124 --- src/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list.c b/src/list.c index a33be59..4951aae 100644 --- a/src/list.c +++ b/src/list.c @@ -124,7 +124,7 @@ HAPI menu_screen_error_e list_get_values(const char *package, app_info_t *ai) goto_if(PMINFO_R_OK != pkgmgrinfo_appinfo_is_enabled(appinfo_h, &ai->enabled), ERROR); ret = pkgmgrinfo_appinfo_get_icon(appinfo_h, &icon); if (ret != PMINFO_R_OK) { - _D("This package has something strange, icon: %s", icon); + _D("This package has something strange, icon"); icon = DEFAULT_ICON; } _D("pkgmgrinfo icon : %s", icon); -- 2.7.4