From: Julian Seward Date: Wed, 17 Dec 2008 01:21:06 +0000 (+0000) Subject: Fix some format string mismatch warnings, associated with r8825. X-Git-Tag: svn/VALGRIND_3_4_0~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a9f6dd234ab28065734ce81e1669bd7b1dae675;p=thirdparty%2Fvalgrind.git Fix some format string mismatch warnings, associated with r8825. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8829 --- diff --git a/drd/drd_semaphore.c b/drd/drd_semaphore.c index 1125c1b174..8f585d8731 100644 --- a/drd/drd_semaphore.c +++ b/drd/drd_semaphore.c @@ -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,