From: Bart Van Assche Date: Sun, 26 Jul 2009 08:40:51 +0000 (+0000) Subject: Display sem_open() mode in octal format instead of hexadecimal format. X-Git-Tag: svn/VALGRIND_3_5_0~243 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6265c05b39e89c62a423c6c4093eccf7d9dc9779;p=thirdparty%2Fvalgrind.git Display sem_open() mode in octal format instead of hexadecimal format. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10605 --- diff --git a/drd/drd_semaphore.c b/drd/drd_semaphore.c index de686990b7..e5fcda95f7 100644 --- a/drd/drd_semaphore.c +++ b/drd/drd_semaphore.c @@ -261,7 +261,7 @@ struct semaphore_info* DRD_(semaphore_open)(const Addr semaphore, { VG_(message)(Vg_UserMsg, "[%d] sem_open 0x%lx name %s" - " oflag %ld mode 0x%lx value %u\n", + " oflag %ld mode %#lo value %u\n", DRD_(thread_get_running_tid)(), semaphore, name, oflag, mode, value); }