[PATCH] rtems/inttypes: Clarify hexadecimal in comments

Martin Erik Werner martinerikwerner.aac at gmail.com
Wed Nov 29 13:52:15 UTC 2017


Update comments to reflect that PRIxblksize_t PRIxblkcnt_t is
hexadecimal, not decimal.

Signed-off-by: Martin Erik Werner <martin.werner at aacmicrotec.com>
---
 cpukit/include/rtems/inttypes.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/include/rtems/inttypes.h b/cpukit/include/rtems/inttypes.h
index cc8538df19..a8e725dcbf 100644
--- a/cpukit/include/rtems/inttypes.h
+++ b/cpukit/include/rtems/inttypes.h
@@ -70,7 +70,7 @@ extern "C" {
 #error "PRIdtime_t: unsupported size of time_t"
 #endif
 
-/** Helper macro to print "blksize_t" in decimal */
+/** Helper macro to print "blksize_t" in hexadecimal */
 #if __RTEMS_SIZEOF_BLKSIZE_T__ == 8
 #define PRIxblksize_t PRIx64
 #elif __RTEMS_SIZEOF_BLKSIZE_T__ == 4
@@ -81,7 +81,7 @@ extern "C" {
 #define PRIxblksize_t "lx"
 #endif
 
-/** Helper macro to print "blkcnt_t" in decimal */
+/** Helper macro to print "blkcnt_t" in hexadecimal */
 #if __RTEMS_SIZEOF_BLKCNT_T__ == 8
 #define PRIxblkcnt_t PRIx64
 #elif __RTEMS_SIZEOF_BLKCNT_T__ == 4
-- 
2.11.0



More information about the devel mailing list