diff options
author | Zhao Gongyi <zhaogongyi@huawei.com> | 2022-11-01 11:56:02 +0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-11-02 03:09:57 -0600 |
commit | 89c1017aac67ca81973b7c8eac5d021315811a93 (patch) | |
tree | f56e795aa7ddce48554f8d0a2379068dcb4316ba /tools | |
parent | 3d982441308ebdf713771c8a85c23d9b8b66b4d4 (diff) | |
download | lwn-89c1017aac67ca81973b7c8eac5d021315811a93.tar.gz lwn-89c1017aac67ca81973b7c8eac5d021315811a93.zip |
selftests/pidfd_test: Remove the erroneous ','
Remove the erroneous ',', otherwise it might result in wrong output
and report:
...
Bail out! (errno %d)
test: Unexpected epoll_wait result (c=4208480, events=2)
...
Fixes: 740378dc7834 ("pidfd: add polling selftests")
Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/pidfd/pidfd_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/pidfd/pidfd_test.c b/tools/testing/selftests/pidfd/pidfd_test.c index d36654265b7a..e2dd4ed84984 100644 --- a/tools/testing/selftests/pidfd/pidfd_test.c +++ b/tools/testing/selftests/pidfd/pidfd_test.c @@ -413,7 +413,7 @@ static void poll_pidfd(const char *test_name, int pidfd) c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000); if (c != 1 || !(events[0].events & EPOLLIN)) - ksft_exit_fail_msg("%s test: Unexpected epoll_wait result (c=%d, events=%x) ", + ksft_exit_fail_msg("%s test: Unexpected epoll_wait result (c=%d, events=%x) " "(errno %d)\n", test_name, c, events[0].events, errno); |