aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-06-10 14:25:19 +0200
committerRickard Green <[email protected]>2013-06-10 14:25:19 +0200
commit06a823824bfca081f3d3bc790cf009eb4aadd353 (patch)
tree68427188f9dc2fd2636bcd2ad2b9aa5ed4684308 /erts/emulator
parent73d48da3e20430f0f6829c29289eaced73534476 (diff)
parent1777ce593cd821ceb9ca00e15298bdfc9b5ec437 (diff)
downloadotp-06a823824bfca081f3d3bc790cf009eb4aadd353.tar.gz
otp-06a823824bfca081f3d3bc790cf009eb4aadd353.tar.bz2
otp-06a823824bfca081f3d3bc790cf009eb4aadd353.zip
Merge branch 'rickard/stale-driver-select/OTP-11084' into maint
* rickard/stale-driver-select/OTP-11084: Fix bad fix of erts_stale_drv_select()
Diffstat (limited to 'erts/emulator')
-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;
}