diff options
author | Chris Johns <chrisj@rtems.org> | 2016-05-23 15:24:43 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-05-25 15:47:34 +1000 |
commit | 61ea3451588bc226bc29b38f1c89747195c2a313 (patch) | |
tree | 090077b80e6ea4059388b128749dd5f3e035050c /testsuites/support/include/tmacros.h | |
parent | libmisc: Fix printk format warnings. (diff) | |
download | rtems-61ea3451588bc226bc29b38f1c89747195c2a313.tar.bz2 |
testsuite: Fix printk formating warning.
Diffstat (limited to 'testsuites/support/include/tmacros.h')
-rw-r--r-- | testsuites/support/include/tmacros.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index e35ef33093..d8aec2a520 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 ); \ |