summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 04207d3..13b7031 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -279,7 +279,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
}
info("exploiting with limera1n...\n");
// TODO: check for non-limera1n device and fail
- if (limera1n_exploit(client->device, client->dfu->client) != 0) {
+ if (limera1n_exploit(client->device, &client->dfu->client) != 0) {
error("ERROR: limera1n exploit failed\n");
dfu_client_free(client);
return -1;
@@ -738,7 +738,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
}
info("exploiting with limera1n\n");
// TODO: check for non-limera1n device and fail
- if (limera1n_exploit(client->device, client->dfu->client) != 0) {
+ if (limera1n_exploit(client->device, &client->dfu->client) != 0) {
error("ERROR: limera1n exploit failed\n");
dfu_client_free(client);
if (delete_fs && filesystem)