aboutsummaryrefslogtreecommitdiffstats
path: root/src/iopoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iopoll.c')
-rw-r--r--src/iopoll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/iopoll.c b/src/iopoll.c
index 321a1245e..da4c6c00f 100644
--- a/src/iopoll.c
+++ b/src/iopoll.c
@@ -116,9 +116,9 @@ iopoll_internal (int fdin, int fdout, bool block, bool broken_output)
struct timeval delay = { .tv_sec = 0, .tv_usec = 0 };
ret = select (nfds,
- broken_output ? &fds : NULL,
- broken_output ? NULL : &fds,
- NULL, block ? NULL : &delay);
+ broken_output ? &fds : nullptr,
+ broken_output ? nullptr : &fds,
+ nullptr, block ? nullptr : &delay);
if (ret < 0)
continue;