Skip to content

Commit 662e7b2

Browse files
committed
Remove pthread_setcanceltype() from non-dbg strace
1 parent 27f2777 commit 662e7b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc/thread/pthread_setcanceltype.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,10 @@ errno_t pthread_setcanceltype(int type, int *oldtype) {
7676
err = EINVAL;
7777
break;
7878
}
79+
#ifdef MODE_DBG
7980
STRACE("pthread_setcanceltype(%s, [%s]) → %s",
8081
DescribeCancelType(alloca(12), 0, &type),
8182
DescribeCancelType(alloca(12), err, oldtype), DescribeErrno(err));
83+
#endif
8284
return err;
8385
}

0 commit comments

Comments
 (0)