Title: [286371] trunk/Source/WTF
Revision
286371
Author
lmo...@igalia.com
Date
2021-12-01 11:06:18 -0800 (Wed, 01 Dec 2021)

Log Message

Unreviewed. Fix -Wformat warning after in ThreadingPosix logging

* wtf/posix/ThreadingPOSIX.cpp:
(WTF::Thread::establishHandle):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (286370 => 286371)


--- trunk/Source/WTF/ChangeLog	2021-12-01 19:01:35 UTC (rev 286370)
+++ trunk/Source/WTF/ChangeLog	2021-12-01 19:06:18 UTC (rev 286371)
@@ -1,3 +1,10 @@
+2021-12-01  Lauro Moura  <lmo...@igalia.com>
+
+        Unreviewed. Fix -Wformat warning after in ThreadingPosix logging
+
+        * wtf/posix/ThreadingPOSIX.cpp:
+        (WTF::Thread::establishHandle):
+
 2021-12-01  J Pascoe  <j_pas...@apple.com>
 
         Fix NEAR_FIELD macro to support iOS devices again

Modified: trunk/Source/WTF/wtf/posix/ThreadingPOSIX.cpp (286370 => 286371)


--- trunk/Source/WTF/wtf/posix/ThreadingPOSIX.cpp	2021-12-01 19:01:35 UTC (rev 286370)
+++ trunk/Source/WTF/wtf/posix/ThreadingPOSIX.cpp	2021-12-01 19:06:18 UTC (rev 286371)
@@ -306,7 +306,7 @@
         struct sched_param param = { 0 };
         error = pthread_setschedparam(threadHandle, policy | SCHED_RESET_ON_FORK, &param);
         if (error)
-            LOG_ERROR("Failed to set sched policy %d for thread %d: %s", policy, threadHandle, safeStrerror(error).data());
+            LOG_ERROR("Failed to set sched policy %d for thread %ld: %s", policy, threadHandle, safeStrerror(error).data());
     }
 #elif !HAVE(QOS_CLASSES)
     UNUSED_PARAM(qos);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to