summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGhanshyam Agrawal <ghanshyam1898@gmail.com>2023-12-17 13:30:19 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-20 11:50:08 +0100
commit3910d7a441f2713318913270850153ddf067c5ed (patch)
tree77bdd5d37937ecb06ce0d64dfa46e974e5a01b7c
parent2a36b4e5e608682bae45769b7ecdc10891bb5712 (diff)
downloadlinux-stable-3910d7a441f2713318913270850153ddf067c5ed.tar.gz
linux-stable-3910d7a441f2713318913270850153ddf067c5ed.tar.bz2
linux-stable-3910d7a441f2713318913270850153ddf067c5ed.zip
kselftest: alsa: fixed a print formatting warning
[ Upstream commit 13d605e32e4cfdedcecdf3d98d21710ffe887708 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
-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 a38b89c28030..37da902545a4 100644
--- a/tools/testing/selftests/alsa/mixer-test.c
+++ b/tools/testing/selftests/alsa/mixer-test.c
@@ -177,7 +177,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);
}