summaryrefslogtreecommitdiff
path: root/doc/develop/printf.rst
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-08-19 10:13:28 -0400
committerTom Rini <[email protected]>2023-08-19 10:13:28 -0400
commit406a5ddf9d1b81c3cfb670ba9e4ed82ee3dc61fb (patch)
tree87cab590c511c8766b871ec52e05a4ae6fd36e5d /doc/develop/printf.rst
parente34efcf51df86eb2b07d9deb171596940586c666 (diff)
parent951d63000e2daf8b128139cfed343fe2b2da5a93 (diff)
Merge tag 'doc-2023-10-rc3-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request doc-2023-10-rc3-2 Documentation: * csf_examples: csf.sh: Remove unneeded export ATF_LOAD_ADDR line * printf() codes: correct format specifier for unsigned int * Fix typos in clk.h, irq.h. * Correct description of proftool Other: * Quieten test for erofs filesystem presence * spl: don't assume NVMe partition 1 exists
Diffstat (limited to 'doc/develop/printf.rst')
-rw-r--r--doc/develop/printf.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/develop/printf.rst b/doc/develop/printf.rst
index 7b9aea06876..99d05061b14 100644
--- a/doc/develop/printf.rst
+++ b/doc/develop/printf.rst
@@ -105,19 +105,19 @@ for the individual integer types.
=================== ==================
Type Format specifier
=================== ==================
-bool %d, %x
+bool %d, %x
char %d, %x
unsigned char %u, %x
short %d, %x
unsigned short %u, %x
int %d, %x
-unsigned int %d, %x
+unsigned int %u, %x
long %ld, %lx
unsigned long %lu, %lx
long long %lld, %llx
unsigned long long %llu, %llx
off_t %llu, %llx
-ptr_diff_t %td, %tx
+ptr_diff_t %td, %tx
fdt_addr_t %pa, see pointers
fdt_size_t %pa, see pointers
phys_addr_t %pa, see pointers