aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-06-10 14:23:01 +0200
committerRickard Green <[email protected]>2013-06-10 14:23:01 +0200
commit1777ce593cd821ceb9ca00e15298bdfc9b5ec437 (patch)
treeb77019de4ab374991cf90d14471c514d4d418f5a /erts/emulator
parent0dc9af30c3dd673342f8b5f49b43cbdb8a1221c4 (diff)
downloadotp-1777ce593cd821ceb9ca00e15298bdfc9b5ec437.tar.gz
otp-1777ce593cd821ceb9ca00e15298bdfc9b5ec437.tar.bz2
otp-1777ce593cd821ceb9ca00e15298bdfc9b5ec437.zip
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 0f6b3aa8a7..8585a8a017 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -5005,7 +5005,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;
}