summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mobilebackup.c2
-rw-r--r--tools/idevicebackup.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mobilebackup.c b/src/mobilebackup.c
index 6277d45..209aee3 100644
--- a/src/mobilebackup.c
+++ b/src/mobilebackup.c
@@ -388,7 +388,7 @@ mobilebackup_error_t mobilebackup_request_restore(mobilebackup_client_t client,
/* construct request plist */
plist_t dict = plist_new_dict();
plist_dict_insert_item(dict, "BackupManifestKey", plist_copy(backup_manifest));
- plist_dict_insert_item(dict, "BackupMessageTypeKey", plist_new_string("BackupMessageRestoreRequest"));
+ plist_dict_insert_item(dict, "BackupMessageTypeKey", plist_new_string("kBackupMessageRestoreRequest"));
plist_dict_insert_item(dict, "BackupProtocolVersion", plist_new_string(proto_version));
/* add flags */
plist_dict_insert_item(dict, "BackupNotifySpringBoard", plist_new_bool(IS_FLAG_SET(flags, MB_RESTORE_NOTIFY_SPRINGBOARD)));
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c
index 0da7093..8f47433 100644
--- a/tools/idevicebackup.c
+++ b/tools/idevicebackup.c
@@ -1235,7 +1235,7 @@ int main(int argc, char *argv[])
} else if (err == MOBILEBACKUP_E_REPLY_NOT_OK) {
printf("ERROR: Could not start restore process: device refused to start the restore process.\n");
} else {
- printf("ERROR: Could not start backup process: unspecified error occured (%d)\n", err);
+ printf("ERROR: Could not start restore process: unspecified error occured (%d)\n", err);
}
plist_free(backup_data);
break;