[PATCH 8/9] testsuite: Fix printk formating warning.

Chris Johns chrisj at rtems.org
Mon May 23 06:55:47 UTC 2016


---
 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 ); \
-- 
2.4.6




More information about the devel mailing list