diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-04-09 12:29:18 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-04-09 12:29:18 -0700 |
commit | 5d7a6541c2365c64622904366bc4f5c1cb2a73d5 (patch) | |
tree | 5bfdda5d9bafbf0229d2bc787f4b4fb7faaa1804 | |
parent | fc97f36d7fe49286d864f3996bcb9b40d9a1f7f4 (diff) | |
download | glibc-5d7a6541c2365c64622904366bc4f5c1cb2a73d5.tar.gz glibc-5d7a6541c2365c64622904366bc4f5c1cb2a73d5.tar.xz glibc-5d7a6541c2365c64622904366bc4f5c1cb2a73d5.zip |
Fix typo in last commit.
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/pthread_getname.c | 2 |
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 c6d78df39f..593219b8ff 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]; |