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 43816a48bf
commit 016428a270

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
}