summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target.c b/src/target/target.c
index ab823894..39b603a2 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -2495,7 +2495,7 @@ static void writeData(FILE *f, const void *data, size_t len)
{
size_t written = fwrite(data, len, 1, f);
if (written != len)
- LOG_ERROR("failed to write %u bytes: %s", len, strerror(errno));
+ LOG_ERROR("failed to write %zu bytes: %s", len, strerror(errno));
}
static void writeLong(FILE *f, int l)