[rtems commit] rtems/inttypes: Clarify hexadecimal in comments
Joel Sherrill
joel at rtems.org
Wed Nov 29 15:29:12 UTC 2017
Module: rtems
Branch: master
Commit: ab304f4defb24d30a76368f96c08911725308494
Changeset: http://git.rtems.org/rtems/commit/?id=ab304f4defb24d30a76368f96c08911725308494
Author: Martin Erik Werner <martinerikwerner.aac at gmail.com>
Date: Wed Nov 29 14:52:15 2017 +0100
rtems/inttypes: Clarify hexadecimal in comments
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 cc8538d..a8e725d 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
More information about the vc
mailing list