From afb36f37770e1b429fcd227904cff6235ee90b5f Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 12 Jul 2010 14:56:47 +0200 Subject: Be more verbose when reporting about each step of the restore process --- src/restore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/restore.c') diff --git a/src/restore.c b/src/restore.c index bb3ed96..7eed0ae 100644 --- a/src/restore.c +++ b/src/restore.c @@ -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; -- cgit v1.1-32-gdbae From 803d4af2ef109f39a512c23b74e3b99cc3bde61b Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 14 Jul 2010 04:47:51 +0200 Subject: Name restore progress strings cosistently --- src/restore.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/restore.c') diff --git a/src/restore.c b/src/restore.c index 7eed0ae..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"; -- cgit v1.1-32-gdbae