diff options
Diffstat (limited to 'tools/iphoneinfo.c')
| -rw-r--r-- | tools/iphoneinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/iphoneinfo.c b/tools/iphoneinfo.c index 7e275b2..16a1069 100644 --- a/tools/iphoneinfo.c +++ b/tools/iphoneinfo.c | |||
| @@ -121,7 +121,7 @@ int main(int argc, char *argv[]) | |||
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | if (uuid[0] != 0) { | 123 | if (uuid[0] != 0) { |
| 124 | ret = iphone_get_device_by_uuid(&phone, uuid); | 124 | ret = iphone_device_new(&phone, uuid); |
| 125 | if (ret != IPHONE_E_SUCCESS) { | 125 | if (ret != IPHONE_E_SUCCESS) { |
| 126 | printf("No device found with uuid %s, is it plugged in?\n", uuid); | 126 | printf("No device found with uuid %s, is it plugged in?\n", uuid); |
| 127 | return -1; | 127 | return -1; |
| @@ -129,7 +129,7 @@ int main(int argc, char *argv[]) | |||
| 129 | } | 129 | } |
| 130 | else | 130 | else |
| 131 | { | 131 | { |
| 132 | ret = iphone_get_device(&phone); | 132 | ret = iphone_device_new(&phone, NULL); |
| 133 | if (ret != IPHONE_E_SUCCESS) { | 133 | if (ret != IPHONE_E_SUCCESS) { |
| 134 | printf("No device found, is it plugged in?\n"); | 134 | printf("No device found, is it plugged in?\n"); |
| 135 | return -1; | 135 | return -1; |
