Changeset eb7f306d in rtems for testsuites/samples


Ignore:
Timestamp:
Oct 7, 2014, 10:43:35 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
c1ed7a3
Parents:
51a95ff9
git-author:
Joel Sherrill <joel.sherrill@…> (10/07/14 22:43:35)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/09/14 15:11:57)
Message:

samples/base_sp: Fix printf() warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/base_sp/apptask.c

    r51a95ff9 reb7f306d  
    3333  rtems_id          tid;
    3434  rtems_status_code status;
     35  unsigned int      a = (unsigned int) argument;
    3536
    3637  status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
     
    3839
    3940  printf(
    40     "Application task was invoked with argument (%" PRIdrtems_task_argument ") "
    41     "and has id of 0x%" PRIxrtems_id "\n", argument, tid
     41    "Application task was invoked with argument (%d) "
     42    "and has id of 0x%" PRIxrtems_id "\n", a, tid
    4243  );
    4344
Note: See TracChangeset for help on using the changeset viewer.