mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-20 19:31:53 +02:00
commit
7f2c78f345
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ void CleanUpTempDir(const std::string& temp_dir, const TodoList& todo)
|
||||||
bool BackupFile(const std::string& path)
|
bool BackupFile(const std::string& path)
|
||||||
{
|
{
|
||||||
std::string backup_path = path + ".bak";
|
std::string backup_path = path + ".bak";
|
||||||
fprintf(log_fp, "Backing up unknown pre-existing %s to .bak.\n", path.c_str());
|
fprintf(log_fp, "Backing up existing %s to .bak.\n", path.c_str());
|
||||||
if (!File::Rename(path, backup_path))
|
if (!File::Rename(path, backup_path))
|
||||||
{
|
{
|
||||||
fprintf(log_fp, "Cound not rename %s to %s for backup.\n", path.c_str(), backup_path.c_str());
|
fprintf(log_fp, "Cound not rename %s to %s for backup.\n", path.c_str(), backup_path.c_str());
|
||||||
|
|
Loading…
Reference in a new issue