diff options
| author | yerejm <github@thelostyerejm.com> | 2015-06-14 16:49:35 +1000 |
|---|---|---|
| committer | yerejm <github@thelostyerejm.com> | 2015-06-14 16:49:35 +1000 |
| commit | fff81fecb1c0d7c640dd464e52e10fd96e6f88f4 (patch) | |
| tree | d60ea6abe7dbf2f89b6894b4a5cef5fe90d5b50f /Source/Core/DiscIO/DiscScrubber.cpp | |
| parent | 6d9711c02ce969cb6da94105b6b2fa26e7ceabbb (diff) | |
Reinstate format string.
Avoid the consequences in the unlikely event the path includes a %.
Diffstat (limited to 'Source/Core/DiscIO/DiscScrubber.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscScrubber.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/DiscScrubber.cpp b/Source/Core/DiscIO/DiscScrubber.cpp index 581efc6190..e44195492b 100644 --- a/Source/Core/DiscIO/DiscScrubber.cpp +++ b/Source/Core/DiscIO/DiscScrubber.cpp @@ -304,7 +304,7 @@ bool ParsePartitionData(SPartition& _rPartition) // Go through the filesystem and mark entries as used for (SFileInfo file : filesystem->GetFileList()) { - DEBUG_LOG(DISCIO, file.m_FullPath.empty() ? "/" : file.m_FullPath.c_str()); + DEBUG_LOG(DISCIO, "%s", file.m_FullPath.empty() ? "/" : file.m_FullPath.c_str()); // Just 1byte for directory? - it will end up reserving a cluster this way if (file.m_NameOffset & 0x1000000) MarkAsUsedE(_rPartition.Offset + _rPartition.Header.DataOffset, file.m_Offset, 1); |
