[rtems commit] score: Fix format specifier
Sebastian Huber
sebh at rtems.org
Tue Aug 22 14:50:59 UTC 2017
Module: rtems
Branch: master
Commit: 279c54063ec544d566647412558c539064ead953
Changeset: http://git.rtems.org/rtems/commit/?id=279c54063ec544d566647412558c539064ead953
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Aug 10 14:21:37 2017 +0200
score: Fix format specifier
Update #3082.
---
cpukit/score/src/cpusetprintsupport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/src/cpusetprintsupport.c b/cpukit/score/src/cpusetprintsupport.c
index c1ae235..1199671 100644
--- a/cpukit/score/src/cpusetprintsupport.c
+++ b/cpukit/score/src/cpusetprintsupport.c
@@ -47,7 +47,7 @@ void _CPU_set_Show_with_plugin(
int i;
rtems_printf(printer ,"%s: ", description);
for(i=0; i<_NCPUWORDS; i++)
- rtems_printf(printer ,"%" PRIx32 "", cpuset->__bits[i]);
+ rtems_printf(printer ,"%lx", cpuset->__bits[i]);
rtems_printf(printer ,"\n");
}
More information about the vc
mailing list