- Fix asynclook unit test for setup of lockchecks before log.

This commit is contained in:
W.C.A. Wijngaards
2021-08-25 16:19:12 +02:00
parent 1ea624d0c7
commit 087a7ff95e
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -406,10 +406,10 @@ int main(int argc, char** argv)
struct lookinfo* lookups;
int i, r, cancel=0, blocking=0, ext=0;
checklock_start();
/* init log now because solaris thr_key_create() is not threadsafe */
log_init(0,0,0);
/* lock debug start (if any) */
checklock_start();
/* create context */
ctx = ub_ctx_create();