netutils/tftpc/tftpc_put.c: Fix syslog formats
This commit is contained in:
parent
5a4bf6b349
commit
72d9b34fb1
@ -165,11 +165,11 @@ static int tftp_rcvack(int sd, FAR uint8_t *packet,
|
||||
|
||||
if (nbytes == 0)
|
||||
{
|
||||
nerr("ERROR: Connection lost: %d bytes\n", nbytes);
|
||||
nerr("ERROR: Connection lost: %zd bytes\n", nbytes);
|
||||
}
|
||||
else if (nbytes > 0)
|
||||
{
|
||||
nerr("ERROR: Short packet: %d bytes\n", nbytes);
|
||||
nerr("ERROR: Short packet: %zd bytes\n", nbytes);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user