summaryrefslogtreecommitdiff
path: root/src/helper/options.c
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/helper/options.c
parent55ebb067d1214b4136343ac6356ad15169a631f2 (diff)
downloadopenocd+libswd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.tar.gz
openocd+libswd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.tar.bz2
openocd+libswd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.tar.xz
openocd+libswd-4f0bd8e8e1fe0a7f8eda31e16d6415daa599583a.zip
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/helper/options.c')
-rw-r--r--src/helper/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/options.c b/src/helper/options.c
index 7e738d73..109419b3 100644
--- a/src/helper/options.c
+++ b/src/helper/options.c
@@ -54,7 +54,7 @@ static struct option long_options[] =
int configuration_output_handler(struct command_context_s *context, const char* line)
{
- LOG_USER_N(line);
+ LOG_USER_N("%s", line);
return ERROR_OK;
}