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: 5aaf9efffc ("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>
This commit is contained in:
parent
2a36b4e5e6
commit
3910d7a441
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ static void find_controls(void)
|
||||||
err = snd_ctl_elem_info(card_data->handle,
|
err = snd_ctl_elem_info(card_data->handle,
|
||||||
ctl_data->info);
|
ctl_data->info);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
ksft_print_msg("%s getting info for %d\n",
|
ksft_print_msg("%s getting info for %s\n",
|
||||||
snd_strerror(err),
|
snd_strerror(err),
|
||||||
ctl_data->name);
|
ctl_data->name);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue