summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/uid01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/uid01/init.c')
-rw-r--r--testsuites/libtests/uid01/init.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuites/libtests/uid01/init.c b/testsuites/libtests/uid01/init.c
index 13ec8bab3e..f8ec4bd25d 100644
--- a/testsuites/libtests/uid01/init.c
+++ b/testsuites/libtests/uid01/init.c
@@ -69,9 +69,10 @@ void printf_uid_message(
struct MW_UID_MESSAGE *uid
)
{
+ rtems_printer printer;
+ rtems_print_printer_printf( &printer );
uid_print_message_with_plugin(
- stdout,
- (rtems_printk_plugin_t)fprintf,
+ &printer,
uid
);
}
@@ -111,12 +112,12 @@ rtems_task Init(
/* No message should ever be recieved. With a timeout val of 0, this
* call will never return. We use this to check if patch was correct
* by passing a number of ticks greater than 0 and less than 1. If
- * patch was correct, this call will timeout instead of waiting
+ * patch was correct, this call will timeout instead of waiting
* indefinitely.
*/
receive_uid_message();
- close_it();
+ close_it();
TEST_END();
rtems_test_exit( 0 );
}