summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/alsa
diff options
context:
space:
mode:
authorGhanshyam Agrawal <ghanshyam1898@gmail.com>2023-12-17 09:00:19 +0100
committerTakashi Iwai <tiwai@suse.de>2023-12-18 09:15:21 +0100
commit13d605e32e4cfdedcecdf3d98d21710ffe887708 (patch)
tree604368a6f5b9eb888a874f07af33e454cb751ab9 /tools/testing/selftests/alsa
parentALSA: usb-audio: Increase delay in MOTU M quirk (diff)
downloadlinux-13d605e32e4cfdedcecdf3d98d21710ffe887708.tar.xz
linux-13d605e32e4cfdedcecdf3d98d21710ffe887708.zip
kselftest: alsa: fixed a print formatting warning
A statement used %d print formatter where %s should have been used. The same has been fixed in this commit. Signed-off-by: Ghanshyam Agrawal <ghanshyam1898@gmail.com> Link: 5aaf9efffc57 ("kselftest: alsa: Add simplistic test for ALSA mixer controls kselftest") Link: https://lore.kernel.org/r/20231217080019.1063476-1-ghanshyam1898@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/testing/selftests/alsa')
-rw-r--r--tools/testing/selftests/alsa/mixer-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/alsa/mixer-test.c b/tools/testing/selftests/alsa/mixer-test.c
index 21e482b23f50..23df154fcdd7 100644
--- a/tools/testing/selftests/alsa/mixer-test.c
+++ b/tools/testing/selftests/alsa/mixer-test.c
@@ -138,7 +138,7 @@ static void find_controls(void)
err = snd_ctl_elem_info(card_data->handle,
ctl_data->info);
if (err < 0) {
- ksft_print_msg("%s getting info for %d\n",
+ ksft_print_msg("%s getting info for %s\n",
snd_strerror(err),
ctl_data->name);
}