summaryrefslogtreecommitdiffstats
path: root/dev/msyncclient.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/msyncclient.c
parent1f6282ffddec7012df82fa929dfe72cfc74b063a (diff)
downloadlibimobiledevice-e617375c3424ef341a172d05c58cfc4335049c44.tar.gz
libimobiledevice-e617375c3424ef341a172d05c58cfc4335049c44.tar.bz2
Update tools to use new API
Diffstat (limited to 'dev/msyncclient.c')
-rw-r--r--dev/msyncclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/msyncclient.c b/dev/msyncclient.c
index 5fffe7a..4b27eb7 100644
--- a/dev/msyncclient.c
+++ b/dev/msyncclient.c
@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
if (argc > 1 && !strcasecmp(argv[1], "--debug"))
iphone_set_debug_mask(DBGMASK_MOBILESYNC);
- if (IPHONE_E_SUCCESS != iphone_get_device(&phone)) {
+ if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) {
printf("No iPhone found, is it plugged in?\n");
return -1;
}