summaryrefslogtreecommitdiffstats
path: root/src/img4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/img4.c')
-rw-r--r--src/img4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/img4.c b/src/img4.c
index 18d8ab3..50378c7 100644
--- a/src/img4.c
+++ b/src/img4.c
@@ -94,6 +94,8 @@ int img4_stitch_component(const char* component_name, const unsigned char* compo
return -1;
}
+ info("Personalizing IMG4 component %s...\n", component_name);
+
/* first we need check if we have to change the tag for the given component */
// FIXME: write proper ASN1 handling code for this
if (strcmp(component_name, "RestoreKernelCache") == 0) {
@@ -126,6 +128,7 @@ int img4_stitch_component(const char* component_name, const unsigned char* compo
if (img4header) {
free(img4header);
}
+ error("ERROR: out of memory when personalizing IMG4 component %s\n", component_name);
return -1;
}
p = outbuf;