Fix invalid use of NULL in epoll_pwait2(2) test
commitcc5372806a4bf34cb5c9038d1716b5ea6202abd0
authorAlejandro Colomar <alx.manpages@gmail.com>
Wed, 31 May 2023 20:44:22 +0000 (31 22:44 +0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 1 Jun 2023 17:50:35 +0000 (1 14:50 -0300)
tree11e867b99ce1986ab80285c7560628dfd4b22f5c
parent884012db2046fce17bea0f35210ee424cc60ae06
Fix invalid use of NULL in epoll_pwait2(2) test

epoll_pwait2(2)'s second argument should be nonnull.  We're going to add
__nonnull to the prototype, so let's fix the test accordingly.  We can
use a dummy variable to avoid passing NULL.

Reported-by: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
sysdeps/unix/sysv/linux/tst-epoll.c