diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2012-11-06 15:54:34 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2012-11-06 15:54:34 +0000 |
commit | be1a4c4be86f7960dbeb7b44d3b13ce5b9b13b4e (patch) | |
tree | 00deafe5fc5210adec2d11c4fe4fc1a085752413 | |
parent | 785a7c07c9bd2d4463b30a8539a716f020139551 (diff) | |
download | compiler-rt-be1a4c4be86f7960dbeb7b44d3b13ce5b9b13b4e.tar.gz |
tsan: fix debug output
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167463 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/sanitizer_common/sanitizer_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_posix.cc b/lib/sanitizer_common/sanitizer_posix.cc index d91a2e136..521271eee 100644 --- a/lib/sanitizer_common/sanitizer_posix.cc +++ b/lib/sanitizer_common/sanitizer_posix.cc @@ -79,7 +79,7 @@ void *MmapFixedNoReserve(uptr fixed_addr, uptr size) { MAP_PRIVATE | MAP_ANON | MAP_FIXED | MAP_NORESERVE, -1, 0); if (p != (void*)fixed_addr) - Report("ERROR: Failed to deallocate 0x%zx (%zd) bytes at address %p (%d)\n", + Report("ERROR: Failed to allocate 0x%zx (%zd) bytes at address %p (%d)\n", size, size, fixed_addr, errno); return p; } |