summaryrefslogtreecommitdiff
path: root/cpukit
diff options
context:
space:
mode:
authorMartin Erik Werner <martinerikwerner.aac@gmail.com>2017-11-29 14:52:15 +0100
committerJoel Sherrill <joel@rtems.org>2017-11-29 09:28:59 -0600
commitab304f4defb24d30a76368f96c08911725308494 (patch)
treedf81ffd630d8808c795ab558068cdbe7ab548ecb /cpukit
parent229286564305645fdf37686495cde7f55d823f03 (diff)
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@aacmicrotec.com>
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/include/rtems/inttypes.h4
1 files 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