diff options
Diffstat (limited to 'dev/afccheck.c')
-rw-r--r-- | dev/afccheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/afccheck.c b/dev/afccheck.c index b3fa102..88935a0 100644 --- a/dev/afccheck.c +++ b/dev/afccheck.c @@ -104,7 +104,7 @@ int main(int argc, char *argv[]) iphone_set_debug_mask(DBGMASK_NONE); } - 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; } |