diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-07 09:09:26 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-07 09:09:26 +0000 |
commit | d66557fac49db9329068c1afd9685875cacd3137 (patch) | |
tree | 4ce9ab681e00c57e55bae0521cbcc66397dedeb9 /testsuites/samples/ticker/system.h | |
parent | 2005-11-07 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d66557fac49db9329068c1afd9685875cacd3137.tar.bz2 |
Switch back to include compile.am instead of amcompile.am
Diffstat (limited to '')
-rw-r--r-- | testsuites/samples/ticker/system.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/samples/ticker/system.h b/testsuites/samples/ticker/system.h index f17d52f279..b08e22b11a 100644 --- a/testsuites/samples/ticker/system.h +++ b/testsuites/samples/ticker/system.h @@ -14,6 +14,7 @@ */ #include <rtems.h> +#include <inttypes.h> /* functions */ @@ -60,7 +61,7 @@ extern rtems_name Task_name[ 4 ]; /* array of task names */ #define print_time(_s1, _tb, _s2) \ do { \ - printf( "%s%02d:%02d:%02d %02d/%02d/%04d%s", \ + printf( "%s%02" PRId32 ":%02" PRId32 ":%02" PRId32 " %02" PRId32 "/%02" PRId32 "/%04" PRId32 "%s", \ _s1, (_tb)->hour, (_tb)->minute, (_tb)->second, \ (_tb)->month, (_tb)->day, (_tb)->year, _s2 ); \ fflush(stdout); \ |