From 4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 21 Apr 2009 05:33:47 +0000 Subject: Zach Welch fix -Wformat-security warnings (1 of 4) git-svn-id: svn://svn.berlios.de/openocd/trunk@1481 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/xsvf/xsvf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xsvf') diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index 4e1f23e0..3613897f 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; -- cgit v1.2.3