]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Trace the oflag parameter of sem_open() in hexadecimal format instead of decimal.
authorBart Van Assche <bvanassche@acm.org>
Sun, 26 Jul 2009 09:15:55 +0000 (09:15 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 26 Jul 2009 09:15:55 +0000 (09:15 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10608

drd/drd_semaphore.c

index e5fcda95f71215e9964b9b008136e2709897fd2d..d7a9ebf60fd06e39a0124b7b26a0abdce6a0ee7a 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 %#lo value %u\n",
+                   " oflag %#lx mode %#lo value %u\n",
                    DRD_(thread_get_running_tid)(),
                    semaphore, name, oflag, mode, value);
    }