From: Mark Andrews Date: Mon, 25 Jul 2005 00:52:12 +0000 (+0000) Subject: ref not rep X-Git-Tag: v9.2.6b1~43^2~10 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=9ada5ea35f181032438cb94c391a63b6cd76ceee;p=thirdparty%2Fbind9.git ref not rep --- diff --git a/lib/isc/refcount.c b/lib/isc/refcount.c index 1c2c5df290b..a1bfeded17d 100644 --- a/lib/isc/refcount.c +++ b/lib/isc/refcount.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: refcount.c,v 1.2 2005/07/12 01:14:31 marka Exp $ */ +/* $Id: refcount.c,v 1.3 2005/07/25 00:52:12 marka Exp $ */ #include @@ -30,7 +30,7 @@ isc_refcount_init(isc_refcount_t *ref, unsigned int n) { ref->refs = n; #if defined(ISC_PLATFORM_USETHREADS) && !defined(ISC_PLATFORM_HAVEXADD) - return (isc_mutex_init(&rep->lock)); + return (isc_mutex_init(&ref->lock)); #else return (ISC_R_SUCCESS); #endif