summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp28
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-27 04:03:41 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-27 04:03:41 +0000
commitd23649d2c3129b2f73a9100b36cece29009d4e80 (patch)
treeb509c663250924378d7b1bb4d72942b2a28b292c /testsuites/sptests/sp28
parent2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-d23649d2c3129b2f73a9100b36cece29009d4e80.tar.bz2
Use PRIu32 to print uint32_t's.
Diffstat (limited to 'testsuites/sptests/sp28')
-rw-r--r--testsuites/sptests/sp28/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/sptests/sp28/init.c b/testsuites/sptests/sp28/init.c
index 05f819aadd..0aad441ab3 100644
--- a/testsuites/sptests/sp28/init.c
+++ b/testsuites/sptests/sp28/init.c
@@ -237,7 +237,7 @@ void test_multiple_taskvars(void)
directive_failed( sc, "delete multiple #3" );
if ( test_dtor_ran != 2 ) {
- printf( "Test dtor ran %d times not 2 times as expected\n", test_dtor_ran );
+ printf( "Test dtor ran %" PRIu32 " times not 2 times as expected\n", test_dtor_ran );
rtems_test_exit(0);
}
}
@@ -319,7 +319,7 @@ void test_delete_from_other_task(void)
rtems_task_wake_after( 100 );
if ( test_dtor_ran != 1 ) {
- printf( "Test dtor ran %d times not 1 times as expected\n", test_dtor_ran );
+ printf( "Test dtor ran %" PRIu32 " times not 1 times as expected\n", test_dtor_ran );
rtems_test_exit(0);
}
}
@@ -366,7 +366,7 @@ void test_delete_as_side_effect(void)
rtems_task_wake_after( 100 );
if ( test_dtor_ran != 2 ) {
- printf( "Test dtor ran %d times not 2 times as expected\n", test_dtor_ran );
+ printf( "Test dtor ran %" PRIu32 " times not 2 times as expected\n", test_dtor_ran );
rtems_test_exit(0);
}
}