aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-06-22 10:12:20 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-06-22 10:12:20 +0200
commitbc87f3feb4960be715ff36f3abe03fa25e96598e (patch)
tree595580c751ee3f2ab36eb673445b2c1f517b3719
parent84163010ab5bffb101cb004f8ef853c299c69162 (diff)
parent0dddfad1163ea34a6db338c6a75164665fbfdbdb (diff)
downloadotp-bc87f3feb4960be715ff36f3abe03fa25e96598e.tar.gz
otp-bc87f3feb4960be715ff36f3abe03fa25e96598e.tar.bz2
otp-bc87f3feb4960be715ff36f3abe03fa25e96598e.zip
Merge branch 'egil/fix-erl_poll-darwin'
* egil/fix-erl_poll-darwin: 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);