summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/FileMonitor.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2010-12-05 09:04:34 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2010-12-05 09:04:34 +0000
commit9da4fe086b3f7c0c2e310c3b6438ed131fb13ff2 (patch)
tree5867e2b49f5413d130d6d9c41479001dbd43a3d7 /Source/Core/DiscIO/Src/FileMonitor.cpp
parent3e4aa2060185d6122b838d166a3c3cb254ba8844 (diff)
allow gcc to check the format of args being passed to MsgAlert and GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6522 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/FileMonitor.cpp')
-rw-r--r--Source/Core/DiscIO/Src/FileMonitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/Src/FileMonitor.cpp b/Source/Core/DiscIO/Src/FileMonitor.cpp
index c05bd3f22c..1b3ccb0be8 100644
--- a/Source/Core/DiscIO/Src/FileMonitor.cpp
+++ b/Source/Core/DiscIO/Src/FileMonitor.cpp
@@ -106,11 +106,11 @@ void CheckFile(std::string File, u64 Size)
std::string Str = StringFromFormat("%s kB %s", ThousandSeparate(Size, 7).c_str(), File.c_str());
if (ShowSound(File))
{
- NOTICE_LOG(FILEMON, Str.c_str());
+ NOTICE_LOG(FILEMON, "%s", Str.c_str());
}
else
{
- WARN_LOG(FILEMON, Str.c_str());
+ WARN_LOG(FILEMON, "%s", Str.c_str());
}
// Update the current file