summaryrefslogtreecommitdiffstats
path: root/src/img4.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2016-06-26 18:08:03 +0200
committerGravatar Nikias Bassen2016-06-26 18:08:03 +0200
commitba27da737e50a132e5cbfaede4627f90e8974592 (patch)
treea7f19920dc653c35b6818315043aaadb373075c3 /src/img4.c
parentea04de0f1006b6d28ac84939ceb5af5373a01633 (diff)
downloadidevicerestore-ba27da737e50a132e5cbfaede4627f90e8974592.tar.gz
idevicerestore-ba27da737e50a132e5cbfaede4627f90e8974592.tar.bz2
img4: Print message about personalizing component
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;