summaryrefslogtreecommitdiffstats
path: root/src/dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dfu.c')
-rw-r--r--src/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfu.c b/src/dfu.c
index efe0a40..b044fa6 100644
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -128,7 +128,7 @@ int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_ide
if (client->tss)
info("%s will be signed\n", component);
- if (ipsw_get_component_by_path(client->ipsw, client->tss, path, &data, &size) < 0) {
+ if (ipsw_get_component_by_path(client->ipsw, client->tss, component, path, &data, &size) < 0) {
error("ERROR: Unable to get component: %s\n", component);
free(path);
return -1;