aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-10-19 17:32:18 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-10-23 14:30:30 +0200
commita986416859aa6065e44d7288b37152756ac1b0ce (patch)
tree89e0f41ecfe981a4a8a287ef05e8d7758742adf3
parent014c784a73e56769c7045d8f7515d57d9d8a2caf (diff)
downloadotp-a986416859aa6065e44d7288b37152756ac1b0ce.tar.gz
otp-a986416859aa6065e44d7288b37152756ac1b0ce.tar.bz2
otp-a986416859aa6065e44d7288b37152756ac1b0ce.zip
erts: Fix crash dump write to port hack
More future proof with R16
-rw-r--r--erts/emulator/sys/unix/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c
index 282ecb345f..c485a4eece 100644
--- a/erts/emulator/sys/unix/sys.c
+++ b/erts/emulator/sys/unix/sys.c
@@ -715,7 +715,7 @@ prepare_crash_dump(int secs)
list = CONS(hp, make_small(8), list); hp += 2;
/* send to heart port, CMD = 8, i.e. prepare crash dump =o */
- erts_write_to_port(NIL, heart_port, list);
+ erts_write_to_port(ERTS_INVALID_PID, heart_port, list);
}
/* Make sure we unregister at epmd (unknown fd) and get at least