]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix typo in last commit.
authorUlrich Drepper <drepper@redhat.com>
Fri, 9 Apr 2010 19:29:18 +0000 (12:29 -0700)
committerUlrich Drepper <drepper@redhat.com>
Fri, 9 Apr 2010 19:29:18 +0000 (12:29 -0700)
nptl/sysdeps/unix/sysv/linux/pthread_getname.c

index c6d78df39fb8c93d0e55c71fb67a10178f3a02e3..593219b8ff00c3f94e0557d56c3be3b09d5bffda 100644 (file)
@@ -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];