diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-26 13:59:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-28 13:33:55 +0200 |
commit | 73d892d8a8da4fd35a2cad9b52405c6da0c8cb8f (patch) | |
tree | 0520913c846b9004f0590b31f699631238ebcb42 /testsuites/libtests/block14/init.c | |
parent | rtems: Add rtems_print_printer_fprintf_putc() (diff) | |
download | rtems-73d892d8a8da4fd35a2cad9b52405c6da0c8cb8f.tar.bz2 |
tests: Use rtems_test_printer
Update #3170.
Update #3199.
Diffstat (limited to 'testsuites/libtests/block14/init.c')
-rw-r--r-- | testsuites/libtests/block14/init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testsuites/libtests/block14/init.c b/testsuites/libtests/block14/init.c index fcbb1b5f66..d7cd640e25 100644 --- a/testsuites/libtests/block14/init.c +++ b/testsuites/libtests/block14/init.c @@ -120,11 +120,8 @@ static int test_disk_ioctl(rtems_disk_device *dd, uint32_t req, void *arg) static void test_actions(rtems_disk_device *dd) { - rtems_printer printer; int i; - rtems_print_printer_printf(&printer); - for (i = 0; i < ACTION_COUNT; ++i) { const test_action *action = &actions [i]; rtems_status_code sc; @@ -160,7 +157,7 @@ static void test_actions(rtems_disk_device *dd) ); } - rtems_blkdev_print_stats(&dd->stats, 0, 1, 2, &printer); + rtems_blkdev_print_stats(&dd->stats, 0, 1, 2, &rtems_test_printer); } static void test(void) |