From 716f465ce37ecbb33abbf0cf2e1b984a349d1c2f Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Tue, 2 Aug 2005 15:54:36 +0000 Subject: [PATCH] Fix a typo This commit was SVN r6704. --- orte/class/orte_pointer_array.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/orte/class/orte_pointer_array.c b/orte/class/orte_pointer_array.c index c2c12b904c..c6ac725600 100644 --- a/orte/class/orte_pointer_array.c +++ b/orte/class/orte_pointer_array.c @@ -355,14 +355,14 @@ bool orte_pointer_array_test_and_set_item (orte_pointer_array_t *table, int orte_pointer_array_set_size(orte_pointer_array_t *array, size_t new_size) { - OPAL_THREAD_LOCK(&(table->lock)); + OPAL_THREAD_LOCK(&(array->lock)); while (new_size > orte_pointer_array_get_size(array)) { if (!grow_table(array)) { - OPAL_THREAD_UNLOCK(&(table->lock)); + OPAL_THREAD_UNLOCK(&(array->lock)); return ORTE_ERROR; } } - OPAL_THREAD_UNLOCK(&(table->lock)); + OPAL_THREAD_UNLOCK(&(array->lock)); return ORTE_SUCCESS; }