summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-09-10 13:33:26 +0200
committerGravatar Martin Szulecki2009-09-12 11:45:07 +0200
commitcf902d602c41efb6e2521a93b536fbad1cfb2e63 (patch)
treee6c6bad46a43abcd47365e1d4f7aa9b6413589dc
parent424e0032555f32d393f8245b85570dde47e02cf8 (diff)
downloadifuse-cf902d602c41efb6e2521a93b536fbad1cfb2e63.tar.gz
ifuse-cf902d602c41efb6e2521a93b536fbad1cfb2e63.tar.bz2
Adaption to latest libiphone API change.
-rw-r--r--src/ifuse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index bf5f9aa..098b1cd 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -591,7 +591,7 @@ int main(int argc, char *argv[])
return -1;
}
- iphone_get_device(&phone);
+ iphone_device_new(&phone, NULL);
if (!phone) {
fprintf(stderr, "No iPhone found, is it connected?\n");
fprintf(stderr, "If it is make sure that your user has permissions to access the raw usb device.\n");