[klibc] select: Fix handling of NULL timeout when wrapping pselect()

If select() is called with no timeout, our implementation wrapping
pselect() passes an uninitialised timespec buffer to pselect().  It
should pass NULL.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
1 file changed