Fix minor cut+paste error.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1856 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/arch/x86-linux/vg_libpthread.c b/coregrind/arch/x86-linux/vg_libpthread.c
index f6ba33c..0591fc0 100644
--- a/coregrind/arch/x86-linux/vg_libpthread.c
+++ b/coregrind/arch/x86-linux/vg_libpthread.c
@@ -1450,7 +1450,7 @@
int pthread_key_delete(pthread_key_t key)
{
int res;
- ensure_valgrind("pthread_key_create");
+ ensure_valgrind("pthread_key_delete");
if (!key_is_valid(key))
return EINVAL;
VALGRIND_MAGIC_SEQUENCE(res, 0 /* default */,
diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c
index f6ba33c..0591fc0 100644
--- a/coregrind/vg_libpthread.c
+++ b/coregrind/vg_libpthread.c
@@ -1450,7 +1450,7 @@
int pthread_key_delete(pthread_key_t key)
{
int res;
- ensure_valgrind("pthread_key_create");
+ ensure_valgrind("pthread_key_delete");
if (!key_is_valid(key))
return EINVAL;
VALGRIND_MAGIC_SEQUENCE(res, 0 /* default */,