commit | ea400d13fc92ec66578b068e661a162e01d4b641 | [log] [tgz] |
---|---|---|
author | Hou Tao <houtao1@huawei.com> | Tue Jun 13 16:09:18 2023 +0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Mon Jun 19 13:26:43 2023 -0700 |
tree | 3faf137f1dd759aba5b9aefd512edd2adc100faa | |
parent | 8ad663d3dfac95cbcc4121d0655bd18ad9de826f [diff] |
selftests/bpf: Output the correct error code for pthread APIs The return value of pthread API is the error code when the called API fails, so output the return value instead of errno. Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20230613080921.1623219-3-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>