Skip to content

Commit

Permalink
Fix typo in last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Apr 9, 2010
1 parent fc97f36 commit 5d7a654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nptl/sysdeps/unix/sysv/linux/pthread_getname.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 5d7a654

Please sign in to comment.