From 6265c05b39e89c62a423c6c4093eccf7d9dc9779 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 26 Jul 2009 08:40:51 +0000 Subject: [PATCH] Display sem_open() mode in octal format instead of hexadecimal format. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10605 --- drd/drd_semaphore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.47.3