summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-10 00:13:07 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-10 21:36:23 +0200
commit5acb1e3cd0f049dec18b39eb94daa5b43e23d9e2 (patch)
tree4d55e842237a854b22ce292a09fc39af98e3faac /plugins
parentb82f7f7be198dcdc793b919d1534efef72fb4571 (diff)
Correct a warning when using snd_output_printf function
Instead of passing directly a 'const char *' to snd_output_printf function use a "%s" format. Change-Id: I46cd0fc6e5d139a6241dc3aa224b707d97a68125 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/alsa/alsa-utils-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-utils-dump.c b/plugins/alsa/alsa-utils-dump.c
index 3359a39..c9bd3d4 100644
--- a/plugins/alsa/alsa-utils-dump.c
+++ b/plugins/alsa/alsa-utils-dump.c
@@ -159,7 +159,7 @@ PUBLIC void AlsaDumpPcmInfo(SoftMixerT *mixer, const char* info, snd_pcm_t *pcm)
// create an output buffer an dump PCM config
snd_output_buffer_open(&out);
- snd_output_printf(out, info);
+ snd_output_printf(out, "%s", info);
snd_output_printf(out, ": ");
snd_pcm_dump(pcm, out);