summaryrefslogtreecommitdiffstats
path: root/dev/iphoneenterrecovery.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-09-12 19:44:51 +0200
committerGravatar Martin Szulecki2009-09-12 19:44:51 +0200
commite617375c3424ef341a172d05c58cfc4335049c44 (patch)
tree7b47c6f2b6f2ffc9c96caf0abcad4bd0fe185d99 /dev/iphoneenterrecovery.c
parent1f6282ffddec7012df82fa929dfe72cfc74b063a (diff)
downloadlibimobiledevice-e617375c3424ef341a172d05c58cfc4335049c44.tar.gz
libimobiledevice-e617375c3424ef341a172d05c58cfc4335049c44.tar.bz2
Update tools to use new API
Diffstat (limited to 'dev/iphoneenterrecovery.c')
-rw-r--r--dev/iphoneenterrecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/iphoneenterrecovery.c b/dev/iphoneenterrecovery.c
index 2f7891c..1d4d332 100644
--- a/dev/iphoneenterrecovery.c
+++ b/dev/iphoneenterrecovery.c
@@ -68,7 +68,7 @@ int main(int argc, char *argv[])
68 } 68 }
69 strcpy(uuid, argv[i]); 69 strcpy(uuid, argv[i]);
70 70
71 ret = iphone_get_device_by_uuid(&phone, uuid); 71 ret = iphone_device_new(&phone, uuid);
72 if (ret != IPHONE_E_SUCCESS) { 72 if (ret != IPHONE_E_SUCCESS) {
73 printf("No device found with uuid %s, is it plugged in?\n", uuid); 73 printf("No device found with uuid %s, is it plugged in?\n", uuid);
74 return -1; 74 return -1;