diff options
Diffstat (limited to 'testsuites/sptests/spprofiling01/init.c')
-rw-r--r-- | testsuites/sptests/spprofiling01/init.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuites/sptests/spprofiling01/init.c b/testsuites/sptests/spprofiling01/init.c index 5e7e7411d3..a70343b21f 100644 --- a/testsuites/sptests/spprofiling01/init.c +++ b/testsuites/sptests/spprofiling01/init.c @@ -117,15 +117,13 @@ static void test_iterate(void) static void test_report_xml(void) { - rtems_printer printer; rtems_status_code sc; int rv; sc = rtems_task_wake_after(3); rtems_test_assert(sc == RTEMS_SUCCESSFUL); - rtems_print_printer_printf(&printer); - rv = rtems_profiling_report_xml("X", &printer, 1, " "); + rv = rtems_profiling_report_xml("X", &rtems_test_printer, 1, " "); printf("characters produced by rtems_profiling_report_xml(): %i\n", rv); } |