Fix typo in last commit.

This commit is contained in:
Ulrich Drepper 2010-04-09 12:29:18 -07:00
parent fc97f36d7f
commit 5d7a6541c2

View 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];