diff mbox series

kselftest: alsa: fixed a print formatting warning

Message ID 20231217080019.1063476-1-ghanshyam1898@gmail.com (mailing list archive)
State New, archived
Headers show
Series kselftest: alsa: fixed a print formatting warning | expand

Commit Message

Ghanshyam Agrawal Dec. 17, 2023, 8 a.m. UTC
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>
---
 tools/testing/selftests/alsa/mixer-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Takashi Iwai Dec. 18, 2023, 8:15 a.m. UTC | #1
On Sun, 17 Dec 2023 09:00:19 +0100,
Ghanshyam Agrawal wrote:
> 
> 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>

Thanks, applied now.


Takashi
diff mbox series

Patch

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);
 			}