summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 971f81d..d6ead2f 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -274,7 +274,7 @@ int main(int argc, char* argv[]) {
}
char wtfname[256];
- sprintf(wtfname, "Firmware/dfu/WTF.s5l%04dxall.RELEASE.dfu", cpid);
+ sprintf(wtfname, "Firmware/dfu/WTF.s5l%04xxall.RELEASE.dfu", cpid);
char* wtftmp = NULL;
uint32_t wtfsize = 0;
ipsw_extract_to_memory(wtfipsw, wtfname, &wtftmp, &wtfsize);