From e86c632015e2acb48c59ab25192e9987c0fd96a5 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 6 Nov 2012 15:54:34 +0000 Subject: [PATCH] tsan: fix debug output llvm-svn: 167463 --- compiler-rt/lib/sanitizer_common/sanitizer_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc b/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc index d91a2e1..521271e 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc +++ b/compiler-rt/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; } -- 2.7.4