summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/rbtreepeek.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/rbtreepeek.c')
-rw-r--r--cpukit/score/src/rbtreepeek.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/src/rbtreepeek.c b/cpukit/score/src/rbtreepeek.c
index 13ea33370f..81ff0fd137 100644
--- a/cpukit/score/src/rbtreepeek.c
+++ b/cpukit/score/src/rbtreepeek.c
@@ -1,11 +1,9 @@
/*
- * Copyright (c) 2010 Gedare Bloom.
+ * Copyright (c) 2010-2012 Gedare Bloom.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
- *
- * $Id$
*/
#if HAVE_CONFIG_H
@@ -45,7 +43,7 @@ RBTree_Node *_RBTree_Peek(
return_node = NULL;
_ISR_Disable( level );
- return_node = _RBTree_Peek_unprotected( the_rbtree, dir );
+ return_node = _RBTree_First( the_rbtree, dir );
_ISR_Enable( level );
return return_node;
}