summaryrefslogtreecommitdiffstats
path: root/dev/iphoneenterrecovery.c
diff options
context:
space:
mode:
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[])
}
strcpy(uuid, argv[i]);
- ret = iphone_get_device_by_uuid(&phone, uuid);
+ ret = iphone_device_new(&phone, uuid);
if (ret != IPHONE_E_SUCCESS) {
printf("No device found with uuid %s, is it plugged in?\n", uuid);
return -1;