1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-08-31 16:22:36 +02:00

Fix a few printf argument verification warnings

The parameters of size_t type shall be formatted using "%zu" and not
using "%d".

Precision argument for the "%.*s" parameters shall be of int type.

Signed-off-by: Vasili Galka <vvv444@gmail.com>
This commit is contained in:
Vasili Galka
2014-08-26 13:45:48 +03:00
committed by Tom Rini
parent 2dd2cde11c
commit 5d69a5d178
3 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ static int addr_aligned(struct bounce_buffer *state)
/* Check if length is aligned */
if (state->len != state->len_aligned) {
debug("Unaligned buffer length %d\n", state->len);
debug("Unaligned buffer length %zu\n", state->len);
return 0;
}