From: oharboe Date: Tue, 21 Apr 2009 11:33:29 +0000 (+0000) Subject: Zach Welch fix jlink format warning X-Git-Tag: v0.2.0~1010 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48d9f3bbde12b79319e9641bdfe63a57fe06b2b1;p=openocd Zach Welch fix jlink format warning git-svn-id: svn://svn.berlios.de/openocd/trunk@1493 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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