aboutsummaryrefslogtreecommitdiff
path: root/src/xsvf
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 05:33:47 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 05:33:47 +0000
commit4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a (patch)
treedf38f8fef71da4bb5691e834386758fc2ffc25fa /src/xsvf
parent55ebb067d1214b4136343ac6356ad15169a631f2 (diff)
downloadriscv-openocd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.zip
riscv-openocd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.tar.gz
riscv-openocd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.tar.bz2
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
Diffstat (limited to 'src/xsvf')
-rw-r--r--src/xsvf/xsvf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index 4e1f23e..3613897 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -761,7 +761,7 @@ static int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, cha
comment[sizeof(comment)-1] = 0; /* regardless, terminate */
if (verbose)
- LOG_USER(comment);
+ LOG_USER("%s", comment);
}
break;