Commit 8353a94d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Compile, err, fix

parent b44e7cc2
...@@ -253,7 +253,7 @@ static void KillOnce (void) ...@@ -253,7 +253,7 @@ static void KillOnce (void)
static void Kill (void) static void Kill (void)
{ {
static pthread_once_t once = PTHREAD_ONCE_INIT; static pthread_once_t once = PTHREAD_ONCE_INIT;
pthread_once (KillOnce); pthread_once (&once, KillOnce);
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment