Changeset f393150 in rtems


Ignore:
Timestamp:
Sep 17, 2007, 2:40:24 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
37b1a946
Parents:
a6d5ea6
Message:

2007-09-17 Joel Sherrill <joel.sherrill@…>

  • posix/src/semaphorecreatesupp.c: Fixed warning.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra6d5ea6 rf393150  
     12007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * posix/src/semaphorecreatesupp.c: Fixed warning.
     4
    152007-09-17      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • cpukit/posix/src/semaphorecreatesupp.c

    ra6d5ea6 rf393150  
    4040  POSIX_Semaphore_Control   *the_semaphore;
    4141  CORE_semaphore_Attributes *the_sem_attr;
     42  char                      *name_p = (char *)name;
    4243
    4344  _Thread_Disable_dispatch();
     
    109110   */
    110111
    111   _Objects_Open(
    112     &_POSIX_Semaphore_Information,
    113     &the_semaphore->Object,
    114     (char *) name
    115   );
     112  _Objects_Open(&_POSIX_Semaphore_Information, &the_semaphore->Object, name_p);
    116113
    117114  *the_sem = the_semaphore;
     
    122119      POSIX_SEMAPHORE_MP_ANNOUNCE_CREATE,
    123120      the_semaphore->Object.id,
    124       (char *) name,
     121      name_p,
    125122      0                           /* proxy id - Not used */
    126123    );
Note: See TracChangeset for help on using the changeset viewer.