]> git.sur5r.net Git - openocd/commitdiff
Zach Welch <zw@superlucidity.net> fix jlink format warning
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 21 Apr 2009 11:33:29 +0000 (11:33 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 21 Apr 2009 11:33:29 +0000 (11:33 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1493 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jlink.c

index 5c3dbbe7d132e9873ef041972d828ef3a61d1637..6c6e8febb9f620f25642f8a056705c62beef5a6d 100644 (file)
@@ -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