summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/semaphorenametoid.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-31 16:15:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-31 16:15:34 +0000
commit74d0cb441aee70c3bc87032fbac23ea4b7437b8b (patch)
tree167bdb4ddccfb3a3c65b1b590348bde2af8dba0c /cpukit/posix/src/semaphorenametoid.c
parent2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-74d0cb441aee70c3bc87032fbac23ea4b7437b8b.tar.bz2
2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/cond.c, posix/src/key.c, posix/src/mqueuenametoid.c, posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c, posix/src/pspin.c, posix/src/pthread.c, posix/src/ptimer.c, posix/src/semaphorenametoid.c: Add option for all POSIX objects whether named or unnamed to have a string name. If the API does not directly support having a name, then the user must explicitly assign it using rtems_object_set_name(). * rtems/src/rtemsobjectgetapiclassname.c: Improved testability. * score/include/rtems/score/object.h, score/src/objectgetnameasstring.c, score/src/objectnametoidstring.c, score/src/objectsetname.c: Modifications required to pass testing of recently modified object name operations. Also eliminated multiprocessing related code that was not reachable.
Diffstat (limited to 'cpukit/posix/src/semaphorenametoid.c')
-rw-r--r--cpukit/posix/src/semaphorenametoid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/semaphorenametoid.c b/cpukit/posix/src/semaphorenametoid.c
index 071745c3d5..4acee37ce6 100644
--- a/cpukit/posix/src/semaphorenametoid.c
+++ b/cpukit/posix/src/semaphorenametoid.c
@@ -49,7 +49,7 @@ int _POSIX_Semaphore_Name_to_id(
return EINVAL;
status = _Objects_Name_to_id_string(
- &_POSIX_Semaphore_Information, name, 0, (Objects_Id*)id );
+ &_POSIX_Semaphore_Information, name, (Objects_Id*)id );
if ( status == OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL )
return 0;