Build fix.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 Sep 2008 09:33:37 +0000 (09:33 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 14 Sep 2008 09:33:37 +0000 (09:33 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@36403 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm
WebKitTools/DumpRenderTree/mac/ObjCPlugin.m

index 7196284..cf432c2 100644 (file)
@@ -1,3 +1,11 @@
+2008-09-14  Mark Rowe  <mrowe@apple.com>
+
+        Build fix.
+
+        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
+        (waitUntilDoneWatchdogFired):
+        * DumpRenderTree/mac/ObjCPlugin.m:
+
 2008-09-08  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Mark Rowe.
index af85b13..3a47aeb 100644 (file)
@@ -254,8 +254,8 @@ static const CFTimeInterval waitToDumpWatchdogInterval = 10.0;
 static void waitUntilDoneWatchdogFired(CFRunLoopTimerRef timer, void* info)
 {
     const char* message = "FAIL: Timed out waiting for notifyDone to be called\n";
-    fprintf(stderr, message);
-    fprintf(stdout, message);
+    fprintf(stderr, "%s", message);
+    fprintf(stdout, "%s", message);
     dump();
 }
 
index 18b174c..3ec3e74 100644 (file)
@@ -110,7 +110,7 @@ static BOOL _allowsScriptsFullAccess = NO;
 
 - (void)log:(NSString *)message
 {
-    NSLog(message);
+    NSLog(@"%@", message);
 }
 
 - (id)retainObject:(id)obj