diff options
-rw-r--r-- | common/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/library.c b/common/library.c index 2d54fd5..b7d6923 100644 --- a/common/library.c +++ b/common/library.c @@ -60,7 +60,7 @@ static p11_local * _p11_library_get_thread_local (void); p11_mutex_t p11_library_mutex; #ifdef OS_UNIX -pthread_once_t p11_library_once; +pthread_once_t p11_library_once = PTHREAD_ONCE_INIT; #endif static char * |