X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwgtpkg-digsig.c;h=984127b973045f781a9764a7e5903c9f48c18fa1;hb=12a227a2fc574cf0fd560453e1cdd15c50550abb;hp=80428fa017a8e08d3b0f3e47359fb9643385984a;hpb=7e1027342a3cff95635ba2107f283321cf0efa08;p=src%2Fapp-framework-main.git diff --git a/src/wgtpkg-digsig.c b/src/wgtpkg-digsig.c index 80428fa..984127b 100644 --- a/src/wgtpkg-digsig.c +++ b/src/wgtpkg-digsig.c @@ -209,7 +209,7 @@ static int check_references(xmlNodePtr sinfo) if (f->type == type_file) { flags = f->flags; if (!(flags & (flag_signature | flag_referenced))) { - syslog(LOG_ERR, "file not referenced in signature", f->name); + syslog(LOG_ERR, "file not referenced in signature: %s", f->name); result = -1; } } @@ -385,7 +385,7 @@ int create_digsig(int index, const char *key, const char **certs) len = xmlSaveDoc(ctx, doc); if (len < 0) { syslog(LOG_ERR, "xmlSaveDoc to %s failed", fdesc->name); - goto error2; + goto error4; } rc = 0;