mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Fix typo in last commit.
This commit is contained in:
parent
fc97f36d7f
commit
5d7a6541c2
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user