summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spcpuset01/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-03 10:21:21 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-04 09:08:05 -0500
commita864016f3add3abf91a7cf49513fd6d2afe90979 (patch)
treeddd4e0dbb0f9411f699dc18aa5702bf7f8023215 /testsuites/sptests/spcpuset01/init.c
parentMisc psxtmtests: Use uint32_t not long for end_time to match printf() format ... (diff)
downloadrtems-a864016f3add3abf91a7cf49513fd6d2afe90979.tar.bz2
spcpuset01: Use %zd for size_t to eliminate warning
Diffstat (limited to '')
-rw-r--r--testsuites/sptests/spcpuset01/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spcpuset01/init.c b/testsuites/sptests/spcpuset01/init.c
index 0102e6cf09..3ed4d47d23 100644
--- a/testsuites/sptests/spcpuset01/init.c
+++ b/testsuites/sptests/spcpuset01/init.c
@@ -77,7 +77,7 @@ static void test_cpu_set_case_1(size_t cpu)
/*
* Set to all zeros and verify
*/
- printf( "Exercise CPU_ZERO, CPU_SET(%u), and CPU_ISET\n", cpu );
+ printf( "Exercise CPU_ZERO, CPU_SET(%zu), and CPU_ISET\n", cpu );
CPU_ZERO(&set1);
CPU_SET(cpu, &set1);
@@ -99,7 +99,7 @@ static void test_cpu_clr_case_1(size_t cpu)
/*
* Set to all zeros and verify
*/
- printf( "Exercise CPU_FILL, CPU_CLR(%u), and CPU_ISET\n", cpu );
+ printf( "Exercise CPU_FILL, CPU_CLR(%zu), and CPU_ISET\n", cpu );
CPU_FILL(&set1);
CPU_CLR(cpu, &set1);