summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysif.c b/sysif.c
index 6f6ce7c0..c8931895 100644
--- a/sysif.c
+++ b/sysif.c
@@ -711,8 +711,7 @@ static val poll_wrap(val poll_list, val timeout_in)
{
nfds_t i, len = c_num(length(poll_list));
val iter;
- struct pollfd *pfd = convert(struct pollfd *,
- chk_calloc(len, sizeof *pfd));
+ struct pollfd *pfd = coerce(struct pollfd *, chk_calloc(len, sizeof *pfd));
val timeout = default_arg(timeout_in, negone);
int res;