[rtems commit] psxtests: add string param to printf. closes #2241

Gedare Bloom gedare at rtems.org
Mon Feb 23 14:59:57 UTC 2015


Module:    rtems
Branch:    master
Commit:    83fe4468bc3b0d9008ea3a4768bceee42895b510
Changeset: http://git.rtems.org/rtems/commit/?id=83fe4468bc3b0d9008ea3a4768bceee42895b510

Author:    Gedare Bloom <gedare at rtems.org>
Date:      Mon Feb 23 09:59:49 2015 -0500

psxtests: add string param to printf. closes #2241

---

 testsuites/psxtests/psx09/init.c | 2 +-
 testsuites/psxtests/psx12/init.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuites/psxtests/psx09/init.c b/testsuites/psxtests/psx09/init.c
index eace61a..15c1e48 100644
--- a/testsuites/psxtests/psx09/init.c
+++ b/testsuites/psxtests/psx09/init.c
@@ -45,7 +45,7 @@ void print_schedparam(
      schedparam->sched_ss_init_budget.tv_sec,
      schedparam->sched_ss_init_budget.tv_nsec );
 #else
-  printf( "%s_POSIX_SPORADIC_SERVER is not defined\n" );
+  printf( "%s_POSIX_SPORADIC_SERVER is not defined\n", prefix );
 #endif
 }
 
diff --git a/testsuites/psxtests/psx12/init.c b/testsuites/psxtests/psx12/init.c
index a27f3b0..410a141 100644
--- a/testsuites/psxtests/psx12/init.c
+++ b/testsuites/psxtests/psx12/init.c
@@ -41,7 +41,7 @@ void print_schedparam(
      schedparam->sched_ss_init_budget.tv_sec,
      schedparam->sched_ss_init_budget.tv_nsec );
 #else
-  printf( "%s_POSIX_SPORADIC_SERVER is not defined\n" );
+  printf( "%s_POSIX_SPORADIC_SERVER is not defined\n", prefix );
 #endif
 }
 



More information about the vc mailing list