mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00
doc: printf() codes: Fix format specifier for unsigned int
The format specifier for the "unsigned int" variable is documented as
"%d". However, it should be "%u". Thus, fix it.
Fixes: f5e9035043
("doc: printf() codes")
Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
aab60a5128
commit
68886a9941
1 changed files with 3 additions and 3 deletions
|
@ -105,19 +105,19 @@ for the individual integer types.
|
||||||
=================== ==================
|
=================== ==================
|
||||||
Type Format specifier
|
Type Format specifier
|
||||||
=================== ==================
|
=================== ==================
|
||||||
bool %d, %x
|
bool %d, %x
|
||||||
char %d, %x
|
char %d, %x
|
||||||
unsigned char %u, %x
|
unsigned char %u, %x
|
||||||
short %d, %x
|
short %d, %x
|
||||||
unsigned short %u, %x
|
unsigned short %u, %x
|
||||||
int %d, %x
|
int %d, %x
|
||||||
unsigned int %d, %x
|
unsigned int %u, %x
|
||||||
long %ld, %lx
|
long %ld, %lx
|
||||||
unsigned long %lu, %lx
|
unsigned long %lu, %lx
|
||||||
long long %lld, %llx
|
long long %lld, %llx
|
||||||
unsigned long long %llu, %llx
|
unsigned long long %llu, %llx
|
||||||
off_t %llu, %llx
|
off_t %llu, %llx
|
||||||
ptr_diff_t %td, %tx
|
ptr_diff_t %td, %tx
|
||||||
fdt_addr_t %pa, see pointers
|
fdt_addr_t %pa, see pointers
|
||||||
fdt_size_t %pa, see pointers
|
fdt_size_t %pa, see pointers
|
||||||
phys_addr_t %pa, see pointers
|
phys_addr_t %pa, see pointers
|
||||||
|
|
Loading…
Add table
Reference in a new issue