diff options
author | Nikias Bassen | 2015-09-24 20:31:59 +0200 |
---|---|---|
committer | Nikias Bassen | 2015-09-24 20:31:59 +0200 |
commit | b9ec6f2cc43d618beb4de7ee39461541cc9f60dc (patch) | |
tree | a3678503ecbde12fcef6d199d1397fcd3773bff4 | |
parent | 60de516b05525cfd06a3df830b55b0af6b6f1344 (diff) | |
download | idevicerestore-b9ec6f2cc43d618beb4de7ee39461541cc9f60dc.tar.gz idevicerestore-b9ec6f2cc43d618beb4de7ee39461541cc9f60dc.tar.bz2 |
restore: Also print device UDID in log message when entering restore mode
-rw-r--r-- | src/restore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/restore.c b/src/restore.c index 4074d89..f479059 100644 --- a/src/restore.c +++ b/src/restore.c @@ -406,7 +406,7 @@ int restore_open_with_timeout(struct idevicerestore_client_t* client) { while (i++ < attempts) { debug("Attempt %d to connect to restore mode device...\n", i); if (restore_device_connected) { - info("Device is now connected in restore mode...\n"); + info("Device %s is now connected in restore mode...\n", client->udid); break; } sleep(1); @@ -1663,7 +1663,7 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit error("ERROR: Unable to open device in restore mode\n"); return (err == -2) ? -1: -2; } - info("Device has successfully entered restore mode\n"); + info("Device %s has successfully entered restore mode\n", client->udid); restore = client->restore->client; device = client->restore->device; |