From b9ec6f2cc43d618beb4de7ee39461541cc9f60dc Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 24 Sep 2015 20:31:59 +0200 Subject: restore: Also print device UDID in log message when entering restore mode --- src/restore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/restore.c') 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; -- cgit v1.1-32-gdbae