mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +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
|
||||
=================== ==================
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue