summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorGlenn Humphrey <glenn.humphrey@oarcorp.com>2009-12-15 18:24:12 +0000
committerGlenn Humphrey <glenn.humphrey@oarcorp.com>2009-12-15 18:24:12 +0000
commitf4926e1fde9c4a7b3aaf0dd35d05c8c21c90d59b (patch)
tree6f566c2eeecdeddad1f7be1bc20f3f9d6b4163f9 /testsuites
parentremoved obsolete file (moved to arm/shared/lpc/clock) (diff)
downloadrtems-f4926e1fde9c4a7b3aaf0dd35d05c8c21c90d59b.tar.bz2
2009-12-15 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp69/init.c: Fixed warnings.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog4
-rw-r--r--testsuites/sptests/sp69/init.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index 1b82a5b20d..8aa77e1390 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-15 Glenn Humphrey <glenn.humphrey@OARcorp.com>
+
+ * sp69/init.c: Fixed warnings.
+
2009-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp14/sp14.doc, sp14/sp14.scn: doc file have scn contents. Fix and
diff --git a/testsuites/sptests/sp69/init.c b/testsuites/sptests/sp69/init.c
index 4e62014686..3e0343d7e6 100644
--- a/testsuites/sptests/sp69/init.c
+++ b/testsuites/sptests/sp69/init.c
@@ -108,11 +108,11 @@ rtems_task Init(
/* Check status values. */
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
printf(
- "wall time should be ~600000000 is %d\n",
+ "wall time should be ~600000000 is %" PRId32 "\n",
period_status.since_last_period.tv_nsec
);
printf(
- "cpu time should be ~100000000 is %d\n",
+ "cpu time should be ~100000000 is %" PRId32 "\n",
period_status.executed_since_last_period.tv_nsec
);
rtems_test_assert( period_status.since_last_period.tv_sec == 0 );
@@ -127,11 +127,11 @@ rtems_task Init(
);
#else
printf(
- "wall time should be ~60 is %d\n",
+ "wall time should be ~60 is %" PRId32 "\n",
(int) period_status.since_last_period
);
printf(
- "cpu time should be ~10 is %d\n",
+ "cpu time should be ~10 is %" PRId32 "\n",
(int) period_status.executed_since_last_period
);
rtems_test_assert( period_status.since_last_period >= 60 );
@@ -166,7 +166,7 @@ rtems_task Init(
directive_failed( status, "rate_monotonic_get_statistics" );
if ( statistics.missed_count != i ) {
printf(
- "Expected %d got %d for missed_count\n",
+ "Expected %d got %" PRIu32 " for missed_count\n",
i,
statistics.missed_count
);