From 5d7a6541c2365c64622904366bc4f5c1cb2a73d5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 9 Apr 2010 12:29:18 -0700 Subject: Fix typo in last commit. --- nptl/sysdeps/unix/sysv/linux/pthread_getname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.1