summaryrefslogtreecommitdiff
path: root/Source/Core/Common/SDCardUtil.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-11-02 01:19:00 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-11-02 02:09:33 +0000
commitc9e6b05ce90714d4be1093d4d3d3ed33013d5b06 (patch)
treef5a2d8f23a7b6aa2758c53b12f2bc4bda501733c /Source/Core/Common/SDCardUtil.cpp
parent146ee6de91ecb52af86f0056a63b4949b0dbd1b5 (diff)
Core: Remove double newlines at the end of *_LOG messages.
Diffstat (limited to 'Source/Core/Common/SDCardUtil.cpp')
-rw-r--r--Source/Core/Common/SDCardUtil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/SDCardUtil.cpp b/Source/Core/Common/SDCardUtil.cpp
index ba4c1c4209..1bb09878b6 100644
--- a/Source/Core/Common/SDCardUtil.cpp
+++ b/Source/Core/Common/SDCardUtil.cpp
@@ -223,7 +223,7 @@ bool SDCardCreate(u64 disk_size /*in MB*/, const std::string& filename)
FILE* const f = file.GetHandle();
if (!f)
{
- ERROR_LOG(COMMON, "Could not create file '%s', aborting...\n", filename.c_str());
+ ERROR_LOG(COMMON, "Could not create file '%s', aborting...", filename.c_str());
return false;
}
@@ -284,8 +284,8 @@ bool SDCardCreate(u64 disk_size /*in MB*/, const std::string& filename)
return true;
FailWrite:
- ERROR_LOG(COMMON, "Could not write to '%s', aborting...\n", filename.c_str());
+ ERROR_LOG(COMMON, "Could not write to '%s', aborting...", filename.c_str());
if (unlink(filename.c_str()) < 0)
- ERROR_LOG(COMMON, "unlink(%s) failed\n%s", filename.c_str(), GetLastErrorMsg().c_str());
+ ERROR_LOG(COMMON, "unlink(%s) failed: %s", filename.c_str(), GetLastErrorMsg().c_str());
return false;
}