[rtems commit] tests: Use vprintk() in locked_printf()
Sebastian Huber
sebh at rtems.org
Fri Jan 19 09:11:13 UTC 2018
Module: rtems
Branch: master
Commit: 3205fd6ad94e9100a5fb57bc823d34ff9cf93471
Changeset: http://git.rtems.org/rtems/commit/?id=3205fd6ad94e9100a5fb57bc823d34ff9cf93471
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jan 19 09:53:34 2018 +0100
tests: Use vprintk() in locked_printf()
This avoids blocking output and the use of the floating-point unit.
---
testsuites/support/src/locked_print.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuites/support/src/locked_print.c b/testsuites/support/src/locked_print.c
index 5a317c8..f80f74f 100644
--- a/testsuites/support/src/locked_print.c
+++ b/testsuites/support/src/locked_print.c
@@ -82,7 +82,7 @@ int locked_vprintf(const char *fmt, va_list ap)
} while (sc != RTEMS_SUCCESSFUL );
}
- rv = vprintf(fmt, ap);
+ rv = vprintk(fmt, ap);
/* Release the semaphore */
rtems_semaphore_release( locked_print_semaphore );
More information about the vc
mailing list