diff options
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 26c720b..3a496de 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -624,7 +624,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) lock_file(lockfn, &li); FILE* extf = NULL; if (access(extfn, F_OK) != 0) { - extf = fopen(extfn, "w"); + extf = fopen(extfn, "wb"); } unlock_file(&li); if (!extf) { |