From 4e5fe6366a2041b09616a9a2e3b2ccb038a4d2f1 Mon Sep 17 00:00:00 2001 From: Sepalani Date: Thu, 17 Aug 2017 20:12:44 +0100 Subject: CommonFuncs: LastStrerrorString added --- Source/Core/Common/SDCardUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/SDCardUtil.cpp') 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; } -- cgit v1.2.3