diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-06-20 00:01:47 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-20 00:46:52 +0200 |
commit | 0dddfad1163ea34a6db338c6a75164665fbfdbdb (patch) | |
tree | 8aa2df52bdcec3ce8a2efbe2d239fb1aa6895647 /erts/emulator/sys/common/erl_poll.c | |
parent | 2bf100436c480c030200a655c82ec12fe55cdca4 (diff) | |
download | otp-0dddfad1163ea34a6db338c6a75164665fbfdbdb.tar.gz otp-0dddfad1163ea34a6db338c6a75164665fbfdbdb.tar.bz2 otp-0dddfad1163ea34a6db338c6a75164665fbfdbdb.zip |
erts: Fix erl_poll on darwin
Diffstat (limited to 'erts/emulator/sys/common/erl_poll.c')
-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); |