Skip to content

Commit

Permalink
Remove pthread_setcanceltype() from non-dbg strace
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Jan 3, 2025
1 parent 27f2777 commit 662e7b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libc/thread/pthread_setcanceltype.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ errno_t pthread_setcanceltype(int type, int *oldtype) {
err = EINVAL;
break;
}
#ifdef MODE_DBG
STRACE("pthread_setcanceltype(%s, [%s]) → %s",
DescribeCancelType(alloca(12), 0, &type),
DescribeCancelType(alloca(12), err, oldtype), DescribeErrno(err));
#endif
return err;
}

0 comments on commit 662e7b2

Please sign in to comment.