summaryrefslogtreecommitdiff
path: root/src/jtag/jlink.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 05:33:47 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 05:33:47 +0000
commit4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a (patch)
treedf38f8fef71da4bb5691e834386758fc2ffc25fa /src/jtag/jlink.c
parent55ebb067d1214b4136343ac6356ad15169a631f2 (diff)
downloadopenocd_libswd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.tar.gz
openocd_libswd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.tar.bz2
openocd_libswd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.tar.xz
openocd_libswd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.zip
Zach Welch <zw@superlucidity.net> fix -Wformat-security warnings (1 of 4)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1481 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jlink.c')
-rw-r--r--src/jtag/jlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c
index 7eae9049..9b5a6954 100644
--- a/src/jtag/jlink.c
+++ b/src/jtag/jlink.c
@@ -537,7 +537,7 @@ static int jlink_get_version_info(void)
if (result == len)
{
usb_in_buffer[result] = 0;
- LOG_INFO((char *)usb_in_buffer);
+ LOG_INFO("%s", (char *)usb_in_buffer);
return ERROR_OK;
}
}