Skip to contentSkip to conversation

kselftest: alsa: fixed a print formatting warning

PATCH Applied Ghanshyam Agrawal 2 participants 2 messages Dec 17, 2023 – Dec 18, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 tools/testing/selftests/alsa/mixer-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/alsa/mixer-test.c +1 -1
index 21e482b23f50..23df154fcdd7 100644
@@ -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);
 			}
Signature · 1 line
2.25.1