summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-02-14 01:41:10 +0100
committerGravatar Nikias Bassen2019-02-14 01:41:10 +0100
commit89fb94a3f4eed0f6638f5ddf1e3dde21f7fa3f94 (patch)
treef4c17ea3abc918536fef4147d1d9dea719d86a80
parent71cc441b9e742c135b19bda941f384bcaf052112 (diff)
downloadidevicerestore-89fb94a3f4eed0f6638f5ddf1e3dde21f7fa3f94.tar.gz
idevicerestore-89fb94a3f4eed0f6638f5ddf1e3dde21f7fa3f94.tar.bz2
restore: Silence two ERROR messages that are not really errors
-rw-r--r--src/restore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/restore.c b/src/restore.c
index c6ca34a..4e6b91d 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -327,13 +327,13 @@ static int restore_is_current_device(struct idevicerestore_client_t* client, con
device_error = idevice_new(&device, udid);
if (device_error != IDEVICE_E_SUCCESS) {
- error("ERROR: %s: can't open device with UDID %s", __func__, udid);
+ debug("%s: can't open device with UDID %s", __func__, udid);
return 0;
}
restore_error = restored_client_new(device, &restored, "idevicerestore");
if (restore_error != RESTORE_E_SUCCESS) {
- error("ERROR: %s: can't connect to restored\n", __func__);
+ debug("%s: can't connect to restored\n", __func__);
idevice_free(device);
return 0;
}