]> www.infradead.org Git - users/willy/xarray.git/commit
selftests/alsa:Fix printf format string in pcm-test.c
authorZhu Jun <zhujun2@cmss.chinamobile.com>
Wed, 26 Jun 2024 08:48:59 +0000 (01:48 -0700)
committerTakashi Iwai <tiwai@suse.de>
Thu, 27 Jun 2024 07:57:14 +0000 (09:57 +0200)
commit5b707581c072bcef086ef4c122a2ea81470a1027
treefd7f1a96ea95f62e741ce19e950fabf4371b8952
parentbe8f4de61417c65715a7f7661ce4770414c9a5a0
selftests/alsa:Fix printf format string in pcm-test.c

Inside of test_pcm_time() arguments are printed via printf
but '%d' is used to print @flags (of type unsigned int).
Use '%u' instead, just like we do everywhere else.

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20240626084859.4350-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
tools/testing/selftests/alsa/pcm-test.c