mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Remove pthread_setcanceltype() from non-dbg strace
This commit is contained in:
parent
27f2777cc6
commit
662e7b217f
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue