about summary refs log tree commit diff
path: root/src/time
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-01-21 11:47:55 -0500
committerRich Felker <dalias@aerifal.cx>2019-01-21 11:47:55 -0500
commitce32db471500bc43e8cf7c8b84198a77fda78a71 (patch)
tree721588d16a0e2ac9d2eb80466f4b0e2b46a3a8de /src/time
parentaba17aa3599c06af39ca7a89188070f4184945c5 (diff)
downloadmusl-ce32db471500bc43e8cf7c8b84198a77fda78a71.tar.gz
musl-ce32db471500bc43e8cf7c8b84198a77fda78a71.tar.xz
musl-ce32db471500bc43e8cf7c8b84198a77fda78a71.zip
fix call to __pthread_tsd_run_dtors with too many arguments
commit a6054e3c94aa0491d7366e4b05ae0d73f661bfe2 removed the argument,
making it a constraint violation to pass one. caught by cparser/firm;
other compilers seem to ignore it.
Diffstat (limited to 'src/time')
-rw-r--r--src/time/timer_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/timer_create.c b/src/time/timer_create.c
index ad7a2646..d9fbaee5 100644
--- a/src/time/timer_create.c
+++ b/src/time/timer_create.c
@@ -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;