diff options
Diffstat (limited to 'dev/msyncclient.c')
| -rw-r--r-- | dev/msyncclient.c | 2 |
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[]) | |||
| 136 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) | 136 | if (argc > 1 && !strcasecmp(argv[1], "--debug")) |
| 137 | iphone_set_debug_mask(DBGMASK_MOBILESYNC); | 137 | iphone_set_debug_mask(DBGMASK_MOBILESYNC); |
| 138 | 138 | ||
| 139 | if (IPHONE_E_SUCCESS != iphone_get_device(&phone)) { | 139 | if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) { |
| 140 | printf("No iPhone found, is it plugged in?\n"); | 140 | printf("No iPhone found, is it plugged in?\n"); |
| 141 | return -1; | 141 | return -1; |
| 142 | } | 142 | } |
