summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index 5576283..39840e3 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -1503,7 +1503,7 @@ int main(int argc, char *argv[])
}
if (cmd == CMD_CHANGEPW || cmd == CMD_CLOUD) {
- backup_directory = strdup(".this_folder_is_not_present_on_purpose");
+ backup_directory = (char*)".this_folder_is_not_present_on_purpose";
} else {
if (backup_directory == NULL) {
printf("No target backup directory specified.\n");