diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2010-12-21 00:02:02 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-21 09:02:40 +0100 |
commit | d66ae58cd87c78b76652ecf750371b1e005d44de (patch) | |
tree | 90e82954c07e8e412f7c72d402c64b5de2f182f4 /net | |
parent | b754bc4cf0f2687411e9dde3a2115a9c5b8da79a (diff) | |
download | barebox-d66ae58cd87c78b76652ecf750371b1e005d44de.tar.gz barebox-d66ae58cd87c78b76652ecf750371b1e005d44de.tar.xz |
Cosmetic fixes, including format attributes for printf() and friends.
Signed-off-by: Krzysztof HaĆasa <khc@pm.waw.pl>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net')
-rw-r--r-- | net/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tftp.c b/net/tftp.c index 6be8b8f623..0f38b6b9b0 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -218,7 +218,7 @@ static void tftp_handler(char *packet, unsigned len) tftp_last_block = 0; if (tftp_block != 1) { /* Assertion */ - printf("error: First block is not block 1 (%ld)\n", + printf("error: First block is not block 1 (%d)\n", tftp_block); tftp_err = -EINVAL; tftp_state = STATE_DONE; |