aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-06-10 14:28:40 +0200
committerRickard Green <[email protected]>2013-06-10 14:28:40 +0200
commite6c7db595f50ae0606b3177451bcfcdc28f9d3c0 (patch)
treeaf702dd5c32469a47a655a900d4cbb62507d800f /erts/emulator/beam
parent7c0447ddf6f134e9e25730e9afaf793db24f095c (diff)
parent06a823824bfca081f3d3bc790cf009eb4aadd353 (diff)
downloadotp-e6c7db595f50ae0606b3177451bcfcdc28f9d3c0.tar.gz
otp-e6c7db595f50ae0606b3177451bcfcdc28f9d3c0.tar.bz2
otp-e6c7db595f50ae0606b3177451bcfcdc28f9d3c0.zip
Merge branch 'maint'
* maint: Fix bad fix of erts_stale_drv_select()
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index 01e130bd64..c1e66b59af 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -4842,7 +4842,7 @@ erts_stale_drv_select(Eterm port,
if (drv_port == ERTS_INVALID_ERL_DRV_PORT) {
Port *prt = erts_port_lookup_raw(port);
if (prt)
- drv_port = ERTS_Port2ErlDrvPort(port);
+ drv_port = ERTS_Port2ErlDrvPort(prt);
else
drv_port = ERTS_INVALID_ERL_DRV_PORT;
}