From: Mark Andrews Date: Tue, 24 Mar 2020 03:50:31 +0000 (+1100) Subject: Used to the correct unlock type (read) X-Git-Tag: v9.17.1~29^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7dbfd14d8dea604311b09afd862cff2c99a24c0;p=thirdparty%2Fbind9.git Used to the correct unlock type (read) --- diff --git a/lib/isc/log.c b/lib/isc/log.c index 6689b2efa87..7249b6a8c6b 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); } }