Changeset 52a34a7 in rtems


Ignore:
Timestamp:
Mar 20, 2015, 3:46:18 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
2be0342
Parents:
ab90136b
git-author:
Joel Sherrill <joel.sherrill@…> (03/20/15 15:46:18)
git-committer:
Joel Sherrill <joel.sherrill@…> (03/24/15 13:16:31)
Message:

sptests/sp12/pritask.c: Correct printf() warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp12/pritask.c

    rab90136b r52a34a7  
    1515
    1616rtems_task Priority_task(
    17   rtems_task_argument its_index
     17  rtems_task_argument its_index_arg
    1818)
    1919{
     
    2222  rtems_task_priority current_priority;
    2323  rtems_status_code   status;
     24  int                 its_index;
    2425  uint32_t            index;
    2526
     27  its_index = (int) its_index_arg;
    2628  its_priority = Task_priority[ its_index ];
    2729
     
    4345  if ( its_priority < PRIORITY_INHERIT_BASE_PRIORITY ) {
    4446    printf(
    45       "PRI%" PRIdrtems_task_argument " - WHY AM I HERE? (pri=%"
    46         PRIdrtems_task_priority ")",
     47      "PRI%d - WHY AM I HERE? (pri=%" PRIdrtems_task_priority ")",
    4748     its_index,
    4849     its_priority
Note: See TracChangeset for help on using the changeset viewer.