Bug 690432: Fix "format not a string literal and no format arguments" error in gfx logging code. r=bas

This commit is contained in:
Chris Coulson 2011-09-29 12:25:07 -07:00
parent c3bff5e977
commit 4f70e5207f

View File

@ -87,7 +87,7 @@ static void OutputMessage(const std::string &aString, int aLevel) {
}
#else
if (aLevel >= sGfxLogLevel) {
printf(aString.c_str());
printf("%s", aString.c_str());
}
#endif
}