]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Used to the correct unlock type (read)
authorMark Andrews <marka@isc.org>
Tue, 24 Mar 2020 03:50:31 +0000 (14:50 +1100)
committerMark Andrews <marka@isc.org>
Tue, 24 Mar 2020 04:44:06 +0000 (15:44 +1100)
(cherry picked from commit b7dbfd14d8dea604311b09afd862cff2c99a24c0)

lib/isc/log.c

index 6689b2efa87f31afab0adbde7314bc5c454225f0..7249b6a8c6b486f08e62a4b1a1168bcb6469f90f 100644 (file)
@@ -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);
        }
 }