util: resouce: Print attribute name when upate fail 91/270991/1
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 11 Feb 2022 02:16:24 +0000 (11:16 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 14 Feb 2022 03:18:12 +0000 (12:18 +0900)
Change-Id: I63524d282d7083663b580dea7edbd81b57b7e8b3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/util/resource.c

index 4910742ffa8e340e4477fae52ff7890109740a9f..cc11120f2eef65f539df01b86db4ff299d4296a6 100644 (file)
@@ -253,7 +253,8 @@ int update_resource_attrs(struct resource *resource)
                        continue;
                ret = update_resource_attr(resource, resource->attrs[i].id);
                if (ret < 0) {
-                       _E("failed to update resource attr\n");
+                       _E("failed to update resource attr (%s)\n",
+                                       resource->attrs[i].name);
                }
        }