summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-10-13 12:22:23 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-10-13 12:22:23 +0200
commit20c8f64f0a69ec50911a7c0ee64d6ae34df83660 (patch)
treedab75a7ba7e0b3e6cf5207a9d16f18981bed8e74 /src
parent1f917bdc0c498c80f4ef5855dc30eb2f5b58b408 (diff)
downloadopenocd+libswd-20c8f64f0a69ec50911a7c0ee64d6ae34df83660.tar.gz
openocd+libswd-20c8f64f0a69ec50911a7c0ee64d6ae34df83660.tar.bz2
openocd+libswd-20c8f64f0a69ec50911a7c0ee64d6ae34df83660.tar.xz
openocd+libswd-20c8f64f0a69ec50911a7c0ee64d6ae34df83660.zip
Fix warning.
Diffstat (limited to 'src')
-rw-r--r--src/target/arm11_dbgtap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm11_dbgtap.c b/src/target/arm11_dbgtap.c
index 57685cfd..c9812a15 100644
--- a/src/target/arm11_dbgtap.c
+++ b/src/target/arm11_dbgtap.c
@@ -590,7 +590,7 @@ int arm11_run_instr_data_to_core_noack(arm11_common_t * arm11, uint32_t opcode,
Readies = (uint8_t *) malloc(bytes);
if (Readies == NULL)
{
- LOG_ERROR("Out of memory allocating %d bytes", bytes);
+ LOG_ERROR("Out of memory allocating " ZU " bytes", bytes);
return ERROR_FAIL;
}