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
This commit is contained in:
oharboe
2009-04-21 05:33:47 +00:00
parent 55ebb067d1
commit 4f0bd8e8e1
6 changed files with 7 additions and 7 deletions

View File

@@ -896,7 +896,7 @@ static void armjtagew_debug_buffer(u8 *buffer, int length)
snprintf(s, 4, " %02x", buffer[j]);
strcat(line, s);
}
LOG_DEBUG(line);
LOG_DEBUG("%s", line);
}
}
#endif