[rtems commit] testsuite: Fix printk formating warning.
Chris Johns
chrisj at rtems.org
Wed May 25 06:56:44 UTC 2016
Module: rtems
Branch: master
Commit: 61ea3451588bc226bc29b38f1c89747195c2a313
Changeset: http://git.rtems.org/rtems/commit/?id=61ea3451588bc226bc29b38f1c89747195c2a313
Author: Chris Johns <chrisj at rtems.org>
Date: Mon May 23 15:24:43 2016 +1000
testsuite: Fix printk formating warning.
---
testsuites/support/include/tmacros.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h
index e35ef33..d8aec2a 100644
--- a/testsuites/support/include/tmacros.h
+++ b/testsuites/support/include/tmacros.h
@@ -51,7 +51,7 @@ extern "C" {
* does not have it locked.
*/
#if defined SMPTEST
- #define check_dispatch_disable_level( _expect )
+ #define check_dispatch_disable_level( _expect )
#else
#define check_dispatch_disable_level( _expect ) \
do { \
@@ -60,8 +60,8 @@ extern "C" {
|| ((!_Thread_Dispatch_is_enabled()) && (_expect) == 0)) \
) { \
printk( \
- "\n_Thread_Dispatch_disable_level is (%" PRId32 \
- ") not %d detected at %s:%d\n", \
+ "\n_Thread_Dispatch_disable_level is (%i)" \
+ " not %d detected at %s:%d\n", \
!_Thread_Dispatch_is_enabled(), (_expect), __FILE__, __LINE__ ); \
FLUSH_OUTPUT(); \
rtems_test_exit( 1 ); \
More information about the vc
mailing list