diff options
| author | Sepalani <sepalani@hotmail.fr> | 2017-08-17 20:12:44 +0100 |
|---|---|---|
| committer | Sepalani <sepalani@hotmail.fr> | 2017-08-18 20:08:50 +0100 |
| commit | 4e5fe6366a2041b09616a9a2e3b2ccb038a4d2f1 (patch) | |
| tree | d0a04d78ee87c80070a963f10341b628c7aaf23c /Source/Core/Common/SDCardUtil.cpp | |
| parent | 4e40fad248db3dccad901cd200dbc96c03bfbb7f (diff) | |
CommonFuncs: LastStrerrorString added
Diffstat (limited to 'Source/Core/Common/SDCardUtil.cpp')
| -rw-r--r-- | Source/Core/Common/SDCardUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/SDCardUtil.cpp b/Source/Core/Common/SDCardUtil.cpp index 7e1d4ee04e..77c4f00316 100644 --- a/Source/Core/Common/SDCardUtil.cpp +++ b/Source/Core/Common/SDCardUtil.cpp @@ -291,7 +291,7 @@ bool SDCardCreate(u64 disk_size /*in MB*/, const std::string& filename) FailWrite: ERROR_LOG(COMMON, "Could not write to '%s', aborting...", filename.c_str()); if (unlink(filename.c_str()) < 0) - ERROR_LOG(COMMON, "unlink(%s) failed: %s", filename.c_str(), GetLastErrorMsg().c_str()); + ERROR_LOG(COMMON, "unlink(%s) failed: %s", filename.c_str(), LastStrerrorString().c_str()); return false; } |
