diff options
author | Nikias Bassen | 2012-02-14 21:55:14 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-14 21:55:14 +0100 |
commit | b94dcbde31247d72a1acd794678876ea0b778ad1 (patch) | |
tree | 0c665521091e8b70c7a901e08ebe739eede759bf /src | |
parent | 3f225ca3da94432a4a7f3d0bea8563dfffc6f1ea (diff) | |
download | idevicerestore-b94dcbde31247d72a1acd794678876ea0b778ad1.tar.gz idevicerestore-b94dcbde31247d72a1acd794678876ea0b778ad1.tar.bz2 |
main: fix WTF->DFU mode switching since cpid is now hex
Diffstat (limited to 'src')
-rw-r--r-- | src/idevicerestore.c | 2 |
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); |