aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-04-09 12:29:18 -0700
committerUlrich Drepper <drepper@redhat.com>2010-04-09 12:29:18 -0700
commit5d7a6541c2365c64622904366bc4f5c1cb2a73d5 (patch)
tree5bfdda5d9bafbf0229d2bc787f4b4fb7faaa1804 /nptl
parentfc97f36d7fe49286d864f3996bcb9b40d9a1f7f4 (diff)
downloadglibc-5d7a6541c2365c64622904366bc4f5c1cb2a73d5.zip
glibc-5d7a6541c2365c64622904366bc4f5c1cb2a73d5.tar.gz
glibc-5d7a6541c2365c64622904366bc4f5c1cb2a73d5.tar.bz2
Fix typo in last commit.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/pthread_getname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/pthread_getname.c b/nptl/sysdeps/unix/sysv/linux/pthread_getname.c
index c6d78df..593219b 100644
--- a/nptl/sysdeps/unix/sysv/linux/pthread_getname.c
+++ b/nptl/sysdeps/unix/sysv/linux/pthread_getname.c
@@ -43,7 +43,7 @@ pthread_getname_np (th, buf, len)
return ERANGE;
if (th == THREAD_SELF)
- return prctl (PR_SET_NAME, buf) ? errno : 0;
+ return prctl (PR_GET_NAME, buf) ? errno : 0;
#define FMT "/proc/self/task/%u/comm"
char fname[sizeof (FMT) + 8];