Changeset e5f7481 in rtems


Ignore:
Timestamp:
Feb 8, 2011, 7:24:00 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10
Children:
784f9c1
Parents:
cea60077
Message:

2011-02-08 Ralf Corsépius <ralf.corsepius@…>

  • sp69/init.c: Use "ld" instead of PRId32 to print struct timespec->tv_nsec.
Location:
testsuites/sptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    rcea60077 re5f7481  
    112011-02-08      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * sp69/init.c: Use "ld" instead of PRId32 to print
     4        struct timespec->tv_nsec.
    35        * sp19/inttest.h: Use PRIx32 instead of "lx".
    46
  • testsuites/sptests/sp69/init.c

    rcea60077 re5f7481  
    108108  /* Check status values. */
    109109  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
    110     printf(
    111       "wall time should be ~600000000 is %" PRId32 "\n",
     110  /* Note: POSIX mandates struct timespec->tv_nsec to be a "long" */
     111    printf(
     112      "wall time should be ~600000000 is %ld\n",
    112113      period_status.since_last_period.tv_nsec
    113114    );
    114115    printf(
    115       "cpu time should be ~100000000 is %" PRId32 "\n",
     116      "cpu time should be ~100000000 is %ld\n",
    116117      period_status.executed_since_last_period.tv_nsec
    117118    );
Note: See TracChangeset for help on using the changeset viewer.