summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/rtmonuse
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-17 17:22:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-17 17:22:21 +0000
commit5b469b738762d116580b59fda15b74b6349c3ad2 (patch)
tree44df57cff38425cc5ddcab7729dec3cfb766ca6d /testsuites/libtests/rtmonuse
parent2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-5b469b738762d116580b59fda15b74b6349c3ad2.tar.bz2
2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtmonuse/init.c: Do not use Task_name array before initialized.
Diffstat (limited to 'testsuites/libtests/rtmonuse')
-rw-r--r--testsuites/libtests/rtmonuse/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/libtests/rtmonuse/init.c b/testsuites/libtests/rtmonuse/init.c
index 1aa35df770..13c5bc1566 100644
--- a/testsuites/libtests/rtmonuse/init.c
+++ b/testsuites/libtests/rtmonuse/init.c
@@ -38,8 +38,10 @@ rtems_task Init(
period = rtems_build_name( 'I', 'G', 'N', 'R' );
status = rtems_rate_monotonic_create( period, &rmid );
directive_failed( status, "rtems_rate_monotonic_create" );
- put_name( Task_name[ argument ], FALSE );
- printf( "- rtems_rate_monotonic_create id = 0x%08x (stays inactive)\n", rmid );
+ printf(
+ "INIT - rtems_rate_monotonic_create id = 0x%08x (stays inactive)\n",
+ rmid
+ );
Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );