From 5a4bf6b349a65c68b399b10997f50cea3682be03 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 25 Nov 2020 07:35:46 +0900 Subject: [PATCH] netutils/tftpc/tftpc_get.c: Fix a syslog format --- netutils/tftpc/tftpc_get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netutils/tftpc/tftpc_get.c b/netutils/tftpc/tftpc_get.c index 9ad2bde80..38ef730b4 100644 --- a/netutils/tftpc/tftpc_get.c +++ b/netutils/tftpc/tftpc_get.c @@ -333,7 +333,7 @@ static ssize_t tftp_write(FAR void *ctx, uint32_t offset, FAR uint8_t *buf, /* Handle partial writes */ - ninfo("Wrote %d bytes to file\n", nbyteswritten); + ninfo("Wrote %zd bytes to file\n", nbyteswritten); left -= nbyteswritten; buf += nbyteswritten; }