summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_ins.c
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@imladris>2014-05-21 05:25:26 +0200
committerJose Antonio Ortega Ruiz <jao@imladris>2014-05-21 05:25:26 +0200
commit63fab7aaf443112feb6f5ddcab0fafe8b5911af9 (patch)
tree51abb961e2ef1ae3e8a4ab5f34d99b1aae7b4211 /mixlib/mix_ins.c
parent89522e543d73e04c1e0204e287d53e27079cdab7 (diff)
downloadmdk-63fab7aaf443112feb6f5ddcab0fafe8b5911af9.tar.gz
mdk-63fab7aaf443112feb6f5ddcab0fafe8b5911af9.tar.bz2
Avoiding format strings security warnings (cf. #8467)
Diffstat (limited to 'mixlib/mix_ins.c')
-rw-r--r--mixlib/mix_ins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mixlib/mix_ins.c b/mixlib/mix_ins.c
index 663591d..42cdafc 100644
--- a/mixlib/mix_ins.c
+++ b/mixlib/mix_ins.c
@@ -261,7 +261,7 @@ void
mix_ins_print (const mix_ins_t *ins)
{
g_return_if_fail (ins != NULL);
- g_print (mix_get_string_from_id (mix_ins_id_from_ins (*ins)));
+ g_print ("%s", mix_get_string_from_id (mix_ins_id_from_ins (*ins)));
g_print (" %s%d,%d(%d:%d)", mix_short_is_negative (ins->address) ? "-" : "+",
mix_short_magnitude (ins->address), ins->index,
mix_fspec_left (ins->fspec), mix_fspec_right (ins->fspec));