|
From: <sv...@va...> - 2008-12-17 01:21:12
|
Author: sewardj
Date: 2008-12-17 01:21:06 +0000 (Wed, 17 Dec 2008)
New Revision: 8829
Log:
Fix some format string mismatch warnings, associated with r8825.
Modified:
trunk/drd/drd_semaphore.c
Modified: trunk/drd/drd_semaphore.c
===================================================================
--- trunk/drd/drd_semaphore.c 2008-12-17 01:12:58 UTC (rev 8828)
+++ trunk/drd/drd_semaphore.c 2008-12-17 01:21:06 UTC (rev 8829)
@@ -117,7 +117,7 @@
if (s_trace_semaphore)
{
VG_(message)(Vg_UserMsg,
- "[%d/%d] semaphore_init 0x%lx value %d",
+ "[%d/%d] semaphore_init 0x%lx value %ld",
VG_(get_running_tid)(),
thread_get_running_tid(),
semaphore,
@@ -153,7 +153,7 @@
if (s_trace_semaphore)
{
VG_(message)(Vg_UserMsg,
- "[%d/%d] semaphore_destroy 0x%lx value %d",
+ "[%d/%d] semaphore_destroy 0x%lx value %ld",
VG_(get_running_tid)(),
thread_get_running_tid(),
semaphore,
@@ -183,7 +183,7 @@
if (s_trace_semaphore)
{
VG_(message)(Vg_UserMsg,
- "[%d/%d] semaphore_pre_wait 0x%lx value %d",
+ "[%d/%d] semaphore_pre_wait 0x%lx value %ld",
VG_(get_running_tid)(),
thread_get_running_tid(),
semaphore,
@@ -208,7 +208,7 @@
if (s_trace_semaphore)
{
VG_(message)(Vg_UserMsg,
- "[%d/%d] semaphore_post_wait 0x%lx value %d",
+ "[%d/%d] semaphore_post_wait 0x%lx value %ld",
VG_(get_running_tid)(),
thread_get_running_tid(),
semaphore,
@@ -251,7 +251,7 @@
if (s_trace_semaphore)
{
VG_(message)(Vg_UserMsg,
- "[%d/%d] semaphore_post 0x%lx value %d",
+ "[%d/%d] semaphore_post 0x%lx value %ld",
VG_(get_running_tid)(),
thread_get_running_tid(),
semaphore,
|