aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-06-20 00:01:47 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-06-20 00:46:52 +0200
commit0dddfad1163ea34a6db338c6a75164665fbfdbdb (patch)
tree8aa2df52bdcec3ce8a2efbe2d239fb1aa6895647
parent2bf100436c480c030200a655c82ec12fe55cdca4 (diff)
downloadotp-0dddfad1163ea34a6db338c6a75164665fbfdbdb.tar.gz
otp-0dddfad1163ea34a6db338c6a75164665fbfdbdb.tar.bz2
otp-0dddfad1163ea34a6db338c6a75164665fbfdbdb.zip
erts: Fix erl_poll on darwin
-rw-r--r--erts/emulator/sys/common/erl_poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_poll.c b/erts/emulator/sys/common/erl_poll.c
index 68d3c30bd4..da91e7338a 100644
--- a/erts/emulator/sys/common/erl_poll.c
+++ b/erts/emulator/sys/common/erl_poll.c
@@ -776,7 +776,7 @@ grow_poll_fds(ErtsPollSet ps, int min_ix)
static void
grow_select_fds(int fd, ERTS_fd_set* fds)
{
- int new_len = ERTS_POLL_EXPORT(erts_poll_get_table_len)(fd + 1);
+ int new_len = erts_poll_new_table_len(fds->sz, fd + 1);
if (new_len > max_fds)
new_len = max_fds;
new_len = ERTS_FD_SIZE(new_len);