summaryrefslogtreecommitdiffstats
path: root/dev/afccheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/afccheck.c')
-rw-r--r--dev/afccheck.c2
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[])
104 iphone_set_debug_mask(DBGMASK_NONE); 104 iphone_set_debug_mask(DBGMASK_NONE);
105 } 105 }
106 106
107 if (IPHONE_E_SUCCESS != iphone_get_device(&phone)) { 107 if (IPHONE_E_SUCCESS != iphone_device_new(&phone, NULL)) {
108 printf("No iPhone found, is it plugged in?\n"); 108 printf("No iPhone found, is it plugged in?\n");
109 return 1; 109 return 1;
110 } 110 }