mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
selftests: kselftest: Fix the wrong format specifier
The format specifier of "unsigned int" in printf() should be "%u", not "%d". Link: https://lore.kernel.org/r/20241202043111.3888-1-zhangjiao2@cmss.chinamobile.com Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
8694e6a7f7
commit
5a7a4e46f8
|
|
@ -427,7 +427,7 @@ static inline __noreturn __printf(1, 2) void ksft_exit_skip(const char *msg, ...
|
|||
*/
|
||||
if (ksft_plan || ksft_test_num()) {
|
||||
ksft_cnt.ksft_xskip++;
|
||||
printf("ok %d # SKIP ", 1 + ksft_test_num());
|
||||
printf("ok %u # SKIP ", 1 + ksft_test_num());
|
||||
} else {
|
||||
printf("1..0 # SKIP ");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user