Changeset 6dad79f in rtems


Ignore:
Timestamp:
Sep 11, 2009, 2:53:40 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
47988fb
Parents:
b5060e5
Message:

2009-09-11 Joel Sherrill <joel.sherrill@…>

  • libmisc/capture/capture.c: Use public API to obtain object name.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rb5060e5 r6dad79f  
     12009-09-11      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * libmisc/capture/capture.c: Use public API to obtain object name.
     4
    152009-09-09      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
    26
  • cpukit/libmisc/capture/capture.c

    rb5060e5 r6dad79f  
    414414   */
    415415
    416   name = 0; 
    417   if ( _Objects_Get_API (new_task->Object.id) == OBJECTS_CLASSIC_API )
    418     name = new_task->Object.name.name_u32;
    419   else if (new_task->Object.name.name_p)
    420     name = rtems_build_name (new_task->Object.name.name_p[0],
    421                              new_task->Object.name.name_p[1],
    422                              new_task->Object.name.name_p[2],
    423                              new_task->Object.name.name_p[3]);
     416  rtems_object_get_classic_name( new_task->Object.id, &name );
    424417 
    425418  rtems_capture_dup_name (&task->name, name);
Note: See TracChangeset for help on using the changeset viewer.