summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-02 17:00:32 +0200
committerGravatar Martin Szulecki2014-10-02 17:00:32 +0200
commit12539c3ed6aa97b9dfe9d1c1d62cbc72c27bb4c3 (patch)
treedc41454c5e8f07acd74f59112d00b59e1c104d79 /tools
parent6011eef62e64bb7cf8239b8466c9aed01432d2f8 (diff)
downloadlibimobiledevice-12539c3ed6aa97b9dfe9d1c1d62cbc72c27bb4c3.tar.gz
libimobiledevice-12539c3ed6aa97b9dfe9d1c1d62cbc72c27bb4c3.tar.bz2
idevicebackup2: Use correct label for lockdown requests
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index 1047a38..b0a4f2c 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -387,7 +387,7 @@ static void do_post_notification(idevice_t device, const char *notification)
lockdownd_client_t lockdown = NULL;
- if (lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup") != LOCKDOWN_E_SUCCESS) {
+ if (lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup2") != LOCKDOWN_E_SUCCESS) {
return;
}
@@ -1498,7 +1498,7 @@ int main(int argc, char *argv[])
}
lockdownd_client_t lockdown = NULL;
- if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup")) {
+ if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(device, &lockdown, "idevicebackup2")) {
idevice_free(device);
return -1;
}