Changeset f57f5ce2 in rtems


Ignore:
Timestamp:
09/30/11 02:50:48 (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
4562dd8
Parents:
30e4954
Message:

2011-09-30 Ralf Corsépius <ralf.corsepius@…>

  • sp50/init.c, spclockget/init.c: Include "pritime.h". Use PRIdtime_t to print time_t.
Location:
testsuites/sptests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r30e4954 rf57f5ce2  
     12011-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * sp50/init.c, spclockget/init.c: Include "pritime.h".
     4        Use PRIdtime_t to print time_t.
     5
    162011-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • testsuites/sptests/sp50/init.c

    r30e4954 rf57f5ce2  
    1515
    1616#include <tmacros.h>
     17#include "pritime.h"
    1718
    1819volatile int   Fired;
     
    7172      directive_failed( sc, "rtems_clock_get_uptime" );
    7273
    73       printf( "Timer fired at %" PRItime_t "\n", uptime.tv_sec );
     74      printf( "Timer fired at %" PRIdtime_t "\n", uptime.tv_sec );
    7475    }
    7576
  • testsuites/sptests/spclockget/init.c

    r30e4954 rf57f5ce2  
    1515
    1616#include <tmacros.h>
     17#include "pritime.h"
    1718
    1819rtems_task Init(
     
    7071  directive_failed( sc, "rtems_clock_get -- Time Value" );
    7172  printf(
    72     "Init - rtems_clock_get - Time Value = %" PRItime_t "\n",
     73    "Init - rtems_clock_get - Time Value = %" PRIdtime_t "\n",
    7374     timev.tv_sec
    7475  );
Note: See TracChangeset for help on using the changeset viewer.