aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-02-18 11:28:00 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-02-18 11:28:00 +0000
commite3209c82faf706d492057d541781f0d5abe78db7 (patch)
tree54212c9ce8fbcab103d39bf8b87b08a4d66fc89f /plugins
parentd5ac69750d6d16c88ee009e0106bfd6eeffaa695 (diff)
parent1c0ae808eb103ddae1a09186c3cdbb095685d658 (diff)
Merge "alsa-utils-dump: added missing ending null char"
Diffstat (limited to 'plugins')
-rw-r--r--plugins/alsa/alsa-utils-dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/alsa/alsa-utils-dump.c b/plugins/alsa/alsa-utils-dump.c
index 90e4842..676ab27 100644
--- a/plugins/alsa/alsa-utils-dump.c
+++ b/plugins/alsa/alsa-utils-dump.c
@@ -153,6 +153,7 @@ PUBLIC void AlsaDumpPcmParams(SoftMixerT *mixer, snd_pcm_hw_params_t *pcmHwParam
snd_output_buffer_open(&output);
snd_pcm_hw_params_dump(pcmHwParams, output);
+ snd_output_putc(output,'\0');
snd_output_buffer_string(output, &buffer);
AFB_API_DEBUG(mixer->api, "%s:\n--------------\n%s\n-------------",__func__, buffer);
snd_output_close(output);