summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_profreport.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/shell/main_profreport.c')
-rw-r--r--cpukit/libmisc/shell/main_profreport.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/libmisc/shell/main_profreport.c b/cpukit/libmisc/shell/main_profreport.c
index d6e4c5a843..a98b8ba9aa 100644
--- a/cpukit/libmisc/shell/main_profreport.c
+++ b/cpukit/libmisc/shell/main_profreport.c
@@ -24,10 +24,11 @@
static int rtems_shell_main_profreport(int argc, char **argv)
{
+ rtems_printer printer;
+ rtems_print_printer_printf(&printer);
rtems_profiling_report_xml(
"Shell",
- (rtems_profiling_printf) fprintf,
- stdout,
+ &printer,
0,
" "
);