selftests/clone3: Correct log message for waitpid() failures
authorMark Brown <broonie@kernel.org>
Tue, 9 Apr 2024 20:40:32 +0000 (21:40 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 May 2024 19:57:20 +0000 (13:57 -0600)
commit6a5695119e0a8755d907a9a76b08307e41b98fec
tree973a99c6743dd84309155a5dd510a87841089cf9
parent698eb790e016427bf3b2e55693e653222af13691
selftests/clone3: Correct log message for waitpid() failures

When logging an error from calling waitpid() on the child we print a
misleading error message saying that the error we report was returned by
the chilld. Fix this to say the error is from waitpid().

Applied after fixing merge conflict:
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.c