From 9ada5ea35f181032438cb94c391a63b6cd76ceee Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 25 Jul 2005 00:52:12 +0000 Subject: [PATCH] ref not rep --- lib/isc/refcount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isc/refcount.c b/lib/isc/refcount.c index 1c2c5df290..a1bfeded17 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