mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +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;
|
err = EINVAL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#ifdef MODE_DBG
|
||||||
STRACE("pthread_setcanceltype(%s, [%s]) → %s",
|
STRACE("pthread_setcanceltype(%s, [%s]) → %s",
|
||||||
DescribeCancelType(alloca(12), 0, &type),
|
DescribeCancelType(alloca(12), 0, &type),
|
||||||
DescribeCancelType(alloca(12), err, oldtype), DescribeErrno(err));
|
DescribeCancelType(alloca(12), err, oldtype), DescribeErrno(err));
|
||||||
|
#endif
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue