summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
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
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')
-rw-r--r--testsuites/libtests/ChangeLog4
-rw-r--r--testsuites/libtests/rtmonuse/init.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog
index 70d476549d..93b726f56b 100644
--- a/testsuites/libtests/ChangeLog
+++ b/testsuites/libtests/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * rtmonuse/init.c: Do not use Task_name array before initialized.
+
2009-05-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/init.c: Fix warning.
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', ' ' );