Changeset 44c6b5b in rtems


Ignore:
Timestamp:
Oct 27, 2009, 7:27:43 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
94418bd
Parents:
e8d1720
Message:

Use PRIu32 to print sys_req.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spsize/size.c

    re8d1720 r44c6b5b  
    136136     MP_SYSTEM_TASKS)
    137137
     138/* FIXME: uint32_t doesn't seem right */
    138139uint32_t   sys_req;
    139140
     
    620621          maximum_drvs, PER_DRV, (long) size_drvs );
    621622
    622 printf( " System Requirements  - %04d                 =  %d\n",
     623printf( " System Requirements  - %04" PRIu32 "                 =  %"PRIu32 "\n",
    623624          sys_req, sys_req );
    624625
     
    655656printf( " Extensions           - maximum_extensions * %ld\n", PER_EXTENSION );
    656657printf( " Device Drivers       - number_of_device_drivers * %ld\n", PER_DRV);
    657 printf( " System Requirements  - %d\n",                       sys_req );
     658printf( " System Requirements  - %" PRIu32 "\n",              sys_req );
    658659printf( " Floating Point Tasks - FPMASK Tasks * %ld\n",       PER_FPTASK );
    659660printf( " User's Tasks' Stacks -\n" );
Note: See TracChangeset for help on using the changeset viewer.