From a8858bb6590ffabda9b71bff3ca1c541919f1626 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Sat, 22 Jun 2013 20:29:39 +0900 Subject: [PATCH] Bug 885985 - Missing format string in printf call in gfx/2d/unittest/TestBase.cpp. r=bas --- gfx/2d/unittest/TestBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/2d/unittest/TestBase.cpp b/gfx/2d/unittest/TestBase.cpp index 3655e34f2e3..be8a8e04de2 100644 --- a/gfx/2d/unittest/TestBase.cpp +++ b/gfx/2d/unittest/TestBase.cpp @@ -44,5 +44,5 @@ TestBase::RunTests(int *aFailures) void TestBase::LogMessage(string aMessage) { - printf(aMessage.c_str()); + printf("%s", aMessage.c_str()); }