Modified error message that is printed when a mutex operation is attempted on an object that is not a mutex.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7783 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-drd/drd_error.c b/exp-drd/drd_error.c
index 86c40a2..8851f61 100644
--- a/exp-drd/drd_error.c
+++ b/exp-drd/drd_error.c
@@ -145,8 +145,7 @@
else
{
VG_(message)(Vg_UserMsg,
- "%s: mutex 0x%lx.",
- VG_(get_error_string)(e),
+ "The object at address 0x%lx is not a mutex.",
p->mutex);
}
VG_(pp_ExeContext)(VG_(get_error_where)(e));