aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-02-14 16:41:19 +0100
committerSverker Eriksson <[email protected]>2017-02-20 20:06:37 +0100
commit28e6aeb8c0cc0e8b8821be957e3ee9c1eb015de6 (patch)
treee1072dd49c09e64a7aded067b46871b917ec9a02 /erts/emulator/sys/common
parent839ad04bbacb329c89568371bbf5a28d4b2bba25 (diff)
downloadotp-28e6aeb8c0cc0e8b8821be957e3ee9c1eb015de6.tar.gz
otp-28e6aeb8c0cc0e8b8821be957e3ee9c1eb015de6.tar.bz2
otp-28e6aeb8c0cc0e8b8821be957e3ee9c1eb015de6.zip
Fix enif_select for windows
Diffstat (limited to 'erts/emulator/sys/common')
-rw-r--r--erts/emulator/sys/common/erl_check_io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_check_io.c b/erts/emulator/sys/common/erl_check_io.c
index 1c97df4201..8191b6e53f 100644
--- a/erts/emulator/sys/common/erl_check_io.c
+++ b/erts/emulator/sys/common/erl_check_io.c
@@ -201,7 +201,8 @@ static ERTS_INLINE ErtsDrvEventState* hash_new_drv_ev_state(ErtsSysFdType fd)
#if ERTS_CIO_HAVE_DRV_EVENT
tmpl.driver.event = NULL;
#endif
- tmpl.driver.drv_ptr = NULL;
+ tmpl.driver.nif = NULL;
+ tmpl.driver.stop.drv_ptr = NULL;
tmpl.events = 0;
tmpl.remove_cnt = 0;
tmpl.type = ERTS_EV_TYPE_NONE;