1
0

Fixed a load of format string errors

This commit is contained in:
Tycho
2014-03-11 14:16:08 -07:00
parent a19f5fc484
commit 16b27c4b7a
13 changed files with 29 additions and 27 deletions

View File

@@ -51,7 +51,7 @@ void cLogCommandOutputCallback::Finished(void)
{
case '\n':
{
LOG(m_Buffer.substr(last, i - last).c_str());
LOG("%s",m_Buffer.substr(last, i - last).c_str());
last = i + 1;
break;
}
@@ -59,7 +59,7 @@ void cLogCommandOutputCallback::Finished(void)
} // for i - m_Buffer[]
if (last < len)
{
LOG(m_Buffer.substr(last).c_str());
LOG("%s",m_Buffer.substr(last).c_str());
}
// Clear the buffer for the next command output: