summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-02-03 22:20:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-02-03 22:20:41 +0000
commitb452a4023c113332a65a7e290e6c0ecb1dc1c5b7 (patch)
tree29d6a409aaa7192bdbdadd1156eb0e835021dc10 /cpukit
parent4bf1801d0d6fa7bcf7488f7f3cc5c39fafeac7d2 (diff)
downloadrtems-b452a4023c113332a65a7e290e6c0ecb1dc1c5b7.tar.bz2
Changed behavior to match that expected by EPICS test code. Reported by
Eric Norum <eric@cls.usask.ca>.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/rtems/src/semcreate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/rtems/src/semcreate.c b/cpukit/rtems/src/semcreate.c
index 54a5bf80f2..a0c015cde4 100644
--- a/cpukit/rtems/src/semcreate.c
+++ b/cpukit/rtems/src/semcreate.c
@@ -159,8 +159,7 @@ rtems_status_code rtems_semaphore_create(
break;
}
} else {
- /* just to avoid warnings */
- the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_IS_ERROR;
+ the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_BLOCKS;
the_mutex_attributes.only_owner_release = FALSE;
}