diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-06-03 16:06:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2019-06-03 16:06:29 +0000 |
commit | b8f6bf4ac1ff2a99121a141e48426a472f18a600 (patch) | |
tree | 2888803a659f32ecca9edd8fbeac3d4c5865408c /src/wgtpkg-install.c | |
parent | 316b19fc3f5d56d0b0bbec6c44eee837d7d74056 (diff) | |
parent | 401188a731f39ce464db3a31d810be962bf21e1d (diff) |
Merge "Use definition of afm_prefix"
Diffstat (limited to 'src/wgtpkg-install.c')
-rw-r--r-- | src/wgtpkg-install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wgtpkg-install.c b/src/wgtpkg-install.c index f994b8f..bbeb2fe 100644 --- a/src/wgtpkg-install.c +++ b/src/wgtpkg-install.c @@ -300,7 +300,7 @@ static int for_all_content(const struct wgt_desc *desc, int (*action)(const char rc = action(desc->content_src, desc->content_type); feat = desc->features; while (feat) { - if (!strcmp(feat->name, "urn:AGL:widget:provided-unit")) { + if (!strcmp(feat->name, FWK_PREFIX"widget:provided-unit")) { src = wgt_info_param(feat, "content.src"); type = wgt_info_param(feat, "content.type"); rc2 = action(src, type); @@ -447,7 +447,7 @@ static int install_file_properties(const struct wgt_desc *desc) rc = 0; feat = desc->features; while (feat) { - if (!strcmp(feat->name, "urn:AGL:widget:file-properties")) { + if (!strcmp(feat->name, FWK_PREFIX"widget:file-properties")) { param = feat->params; while (param) { if (!strcmp(param->value, "executable")) { |