summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/src
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 /c/src/exec/rtems/src
parentPatches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de> (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 'c/src/exec/rtems/src')
-rw-r--r--c/src/exec/rtems/src/semcreate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/c/src/exec/rtems/src/semcreate.c b/c/src/exec/rtems/src/semcreate.c
index 54a5bf80f2..a0c015cde4 100644
--- a/c/src/exec/rtems/src/semcreate.c
+++ b/c/src/exec/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;
}