From b7dbfd14d8dea604311b09afd862cff2c99a24c0 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 24 Mar 2020 14:50:31 +1100 Subject: [PATCH] Used to the correct unlock type (read) --- lib/isc/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/log.c b/lib/isc/log.c index 6689b2efa8..7249b6a8c6 100644 --- a/lib/isc/log.c +++ b/lib/isc/log.c @@ -829,7 +829,7 @@ isc_log_setdebuglevel(isc_log_t *lctx, unsigned int level) { } UNLOCK(&lctx->lock); } - WRUNLOCK(&lctx->lcfg_rwl); + RDUNLOCK(&lctx->lcfg_rwl); } }