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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user