mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
More printf fixes stemming from format string change in r1882.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1888 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -1020,9 +1020,10 @@ static int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, cha
|
||||
|
||||
if (unsupported)
|
||||
{
|
||||
off_t offset = lseek(xsvf_fd, 0, SEEK_CUR) - 1;
|
||||
command_print(cmd_ctx,
|
||||
"unsupported xsvf command: 0x%02X in xsvf file at offset %jd, aborting",
|
||||
uc, lseek(xsvf_fd, 0, SEEK_CUR)-1 );
|
||||
"unsupported xsvf command (0x%02X) at offset %jd, aborting",
|
||||
uc, (intmax_t)offset);
|
||||
return ERROR_FAIL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user