Don't mix backticks and apostrophes when quoting words -- eg. use 'foo'
rather than `foo', as www.cl.cam.ac.uk/~mgk25/ucs/quotes.html explains
we should (in more detail than you'd imagine was possible). I did this
both in output messages and in some comments, for consistency.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3723 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/include/vg_profile.c b/include/vg_profile.c
index 88030db..306c10e 100644
--- a/include/vg_profile.c
+++ b/include/vg_profile.c
@@ -74,8 +74,8 @@
VG_(tool_panic)("profile event too high");
}
if (vgp_names[n] != NULL) {
- VG_(printf)("\nProfile event #%d being registered as `%s'\n"
- "already registered as `%s'.\n"
+ VG_(printf)("\nProfile event #%d being registered as '%s'\n"
+ "already registered as '%s'.\n"
"Note that tool and core event numbers must not overlap.\n",
n, name, vgp_names[n]);
VG_(tool_panic)("profile event already registered");
@@ -135,7 +135,7 @@
{
if (vgp_sp >= VGP_M_STACK-1) {
VG_(printf)(
- "\nMaximum profile stack depth (%d) reached for event #%d (`%s').\n"
+ "\nMaximum profile stack depth (%d) reached for event #%d ('%s').\n"
"This is probably due to a VG_(pushcc)() without a matching\n"
"VG_(popcc)(). Make sure they all match.\n"
"Or if you are nesting profiling events very deeply, increase\n"