diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-06-22 10:12:20 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-22 10:12:20 +0200 |
commit | bc87f3feb4960be715ff36f3abe03fa25e96598e (patch) | |
tree | 595580c751ee3f2ab36eb673445b2c1f517b3719 /erts/emulator/sys | |
parent | 84163010ab5bffb101cb004f8ef853c299c69162 (diff) | |
parent | 0dddfad1163ea34a6db338c6a75164665fbfdbdb (diff) | |
download | otp-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
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r-- | erts/emulator/sys/common/erl_poll.c | 2 |
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); |