Skip to content

Commit

Permalink
erts: Fix crash dump write to port hack
Browse files Browse the repository at this point in the history
More future proof with R16
  • Loading branch information
psyeugenic committed Oct 23, 2012
1 parent 014c784 commit a986416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erts/emulator/sys/unix/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a986416

Please sign in to comment.