diff options
author | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-22 07:31:16 +0000 |
---|---|---|
committer | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-22 07:31:16 +0000 |
commit | 0f3ab300877012a4011c203358f37a137529fa21 (patch) | |
tree | 7b79da63a34a162e3ffe105baedb38fd92c754d6 | |
parent | d35a4b005e661f6a5428463fc41987300c1bc533 (diff) | |
download | openocd_libswd-0f3ab300877012a4011c203358f37a137529fa21.tar.gz openocd_libswd-0f3ab300877012a4011c203358f37a137529fa21.tar.bz2 openocd_libswd-0f3ab300877012a4011c203358f37a137529fa21.tar.xz openocd_libswd-0f3ab300877012a4011c203358f37a137529fa21.zip |
Fix use of wrong format conversion for size_t (%zu instead of %u)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1502 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/target.c | 2 |
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) |