From 1f6282ffddec7012df82fa929dfe72cfc74b063a Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 10 Sep 2009 13:28:13 +0200 Subject: Public API rework, extension and adaption to latest libusbmuxd-1.0 API. --- tools/iphoneinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/iphoneinfo.c') 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[]) } if (uuid[0] != 0) { - 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; @@ -129,7 +129,7 @@ int main(int argc, char *argv[]) } else { - ret = iphone_get_device(&phone); + ret = iphone_device_new(&phone, NULL); if (ret != IPHONE_E_SUCCESS) { printf("No device found, is it plugged in?\n"); return -1; -- cgit v1.1-32-gdbae