fix call to __pthread_tsd_run_dtors with too many arguments

commit a6054e3c94 removed the argument,
making it a constraint violation to pass one. caught by cparser/firm;
other compilers seem to ignore it.
This commit is contained in:
Rich Felker committed 2019-01-21 11:47:55 -05:00
1 parent aba17aa359
commit ce32db4715
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ weak_alias(dummy_0, __pthread_tsd_run_dtors);
static void cleanup_fromsig(void *p)
{
pthread_t self = __pthread_self();
__pthread_tsd_run_dtors(self);
__pthread_tsd_run_dtors();
self->cancel = 0;
self->cancelbuf = 0;
self->canceldisable = 0;