summaryrefslogtreecommitdiff
path: root/memcheck
diff options
context:
space:
mode:
authorbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-05-09 10:46:55 +0000
committerbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-05-09 10:46:55 +0000
commit3c4fa9f53ab85aa31f7463049ecf4b5c82e9a2a8 (patch)
tree94252c6cc33f2120abe14cea1f2447faf7cd4572 /memcheck
parentad15ace7c226d62b766aa9ece832f935e6717337 (diff)
memcheck: Fixed a bug in the address ranges reported in an error message. Closes #272615.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11734 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck')
-rw-r--r--memcheck/mc_leakcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcheck/mc_leakcheck.c b/memcheck/mc_leakcheck.c
index 2da1cb95..016109c7 100644
--- a/memcheck/mc_leakcheck.c
+++ b/memcheck/mc_leakcheck.c
@@ -1005,7 +1005,7 @@ void MC_(detect_memory_leaks) ( ThreadId tid, LeakCheckMode mode )
} else {
VG_(umsg)("Block 0x%lx..0x%lx overlaps with block 0x%lx..0x%lx",
- start1, end1, start1, end2);
+ start1, end1, start2, end2);
VG_(umsg)("This is usually caused by using VALGRIND_MALLOCLIKE_BLOCK");
VG_(umsg)("in an inappropriate way.");
tl_assert (0);