]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Display sem_open() mode in octal format instead of hexadecimal format.
authorBart Van Assche <bvanassche@acm.org>
Sun, 26 Jul 2009 08:40:51 +0000 (08:40 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 26 Jul 2009 08:40:51 +0000 (08:40 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10605

drd/drd_semaphore.c

index de686990b78c073037c6994bc2de58184def79a3..e5fcda95f71215e9964b9b008136e2709897fd2d 100644 (file)
@@ -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);
    }