summaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-07-14 12:48:51 -0400
committerGravatar Joshua Hill2010-07-14 12:48:51 -0400
commitfde808212e85de310cb404ac2e577da17f8382c2 (patch)
treed69d929dd1fc78b19dbe0ba71908cad89f3039b4 /src/restore.c
parent021a49be23280ddf9289284e8efff2f239d96d15 (diff)
parentdb6dc7b5310138eb6eb3eb099f22ccde65e3e765 (diff)
downloadidevicerestore-fde808212e85de310cb404ac2e577da17f8382c2.tar.gz
idevicerestore-fde808212e85de310cb404ac2e577da17f8382c2.tar.bz2
Merge branch 'martin'
Diffstat (limited to 'src/restore.c')
-rw-r--r--src/restore.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/restore.c b/src/restore.c
index bb3ed96..5e42b97 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -275,7 +275,7 @@ int restore_open_with_timeout(struct idevicerestore_client_t* client) {
const char* restore_progress_string(unsigned int operation) {
switch (operation) {
case WAIT_FOR_STORAGE:
- return "Waiting for Storage Device...";
+ return "Waiting for storage device";
case CREATE_PARTITION_MAP:
return "Creating partition map";
@@ -314,13 +314,13 @@ const char* restore_progress_string(unsigned int operation) {
return "Partition NAND device";
case WAIT_FOR_NAND:
- return "Waiting for NAND...";
+ return "Waiting for NAND";
case WAIT_FOR_DEVICE:
- return "Waiting for Device...";
+ return "Waiting for device";
case LOAD_KERNEL_CACHE:
- return "Loading kernelcache...";
+ return "Loading kernelcache";
case LOAD_NOR:
return "Loading NOR data to flash";
@@ -406,7 +406,7 @@ int restore_send_filesystem(idevice_t device, const char* filesystem) {
// this step sends requested chunks of data from various offsets to asr so
// it can validate the filesystem before installing it
- debug("Preparing to validate the filesystem\n");
+ info("Validating the filesystem\n");
if (asr_perform_validation(asr, filesystem) < 0) {
error("ERROR: ASR was unable to validate the filesystem\n");
asr_close(asr);
@@ -416,13 +416,13 @@ int restore_send_filesystem(idevice_t device, const char* filesystem) {
// once the target filesystem has been validated, ASR then requests the
// entire filesystem to be sent.
- debug("Preparing to send filesystem\n");
+ info("Sending filesystem now...\n");
if (asr_send_payload(asr, filesystem) < 0) {
error("ERROR: Unable to send payload to ASR\n");
asr_close(asr);
return -1;
}
- info("Filesystem finished\n");
+ info("Filesystem sent\n");
asr_close(asr);
return 0;