From 48d9f3bbde12b79319e9641bdfe63a57fe06b2b1 Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 21 Apr 2009 11:33:29 +0000 Subject: Zach Welch fix jlink format warning git-svn-id: svn://svn.berlios.de/openocd/trunk@1493 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/jlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index 5c3dbbe7..6c6e8feb 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -963,7 +963,7 @@ static void jlink_debug_buffer(u8 *buffer, int length) snprintf(s, 4, " %02x", buffer[j]); strcat(line, s); } - LOG_DEBUG(line); + LOG_DEBUG("%s", line); } } #endif -- cgit v1.2.3