]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix some format string mismatch warnings, associated with r8825.
authorJulian Seward <jseward@acm.org>
Wed, 17 Dec 2008 01:21:06 +0000 (01:21 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 17 Dec 2008 01:21:06 +0000 (01:21 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8829

drd/drd_semaphore.c

index 1125c1b174209852e72a1d778f3385543ac79a34..8f585d8731c6a0d85d144eff8a1f2ce98b2073f4 100644 (file)
@@ -117,7 +117,7 @@ struct semaphore_info* semaphore_init(const Addr semaphore,
   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 @@ void semaphore_destroy(const Addr semaphore)
   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 @@ void semaphore_pre_wait(const Addr semaphore)
   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 @@ void semaphore_post_wait(const DrdThreadId tid, const Addr semaphore,
   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 @@ void semaphore_pre_post(const DrdThreadId tid, const Addr semaphore)
   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,