diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-10 00:13:07 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-10 21:36:23 +0200 |
commit | 5acb1e3cd0f049dec18b39eb94daa5b43e23d9e2 (patch) | |
tree | 4d55e842237a854b22ce292a09fc39af98e3faac /plugins/alsa/alsa-utils-dump.c | |
parent | b82f7f7be198dcdc793b919d1534efef72fb4571 (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/alsa/alsa-utils-dump.c')
-rw-r--r-- | plugins/alsa/alsa-utils-dump.c | 2 |
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); |