Skip to content

Commit 13d605e

Browse files
ghanshyam1898tiwai
authored andcommitted
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: 5aaf9ef ("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>
1 parent 48d6b91 commit 13d605e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/alsa/mixer-test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ static void find_controls(void)
138138
err = snd_ctl_elem_info(card_data->handle,
139139
ctl_data->info);
140140
if (err < 0) {
141-
ksft_print_msg("%s getting info for %d\n",
141+
ksft_print_msg("%s getting info for %s\n",
142142
snd_strerror(err),
143143
ctl_data->name);
144144
}

0 commit comments

Comments
 (0)