selftests/clone3: Fix compiler warning
authorMark Brown <broonie@kernel.org>
Tue, 9 Apr 2024 22:24:51 +0000 (23:24 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 May 2024 19:57:20 +0000 (13:57 -0600)
commit7b8674cae80f68304ec6628e455c169a7dc2ad0d
tree91037e621d2a738b19c707afabd4cc2286607e1a
parentc1b121eafd9b94079300bc1f21a5bf82e72a99b4
selftests/clone3: Fix compiler warning

Shuah reported a compiler warning with an Ubuntu GCC 13 build, I've been
unable to reproduce it but hopefully this fixes the issue:

clone3_set_tid.c:136:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]

Reported-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/clone3/clone3_set_tid.c