summaryrefslogtreecommitdiffstats
path: root/dev/lckdclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lckdclient.c')
-rw-r--r--dev/lckdclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/lckdclient.c b/dev/lckdclient.c
index b880253..d866435 100644
--- a/dev/lckdclient.c
+++ b/dev/lckdclient.c
@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
iphone_set_debug_level(1);
- 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;
}