aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_node_tables.c
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-12-14 09:18:37 +0100
committerIngela Anderton Andin <[email protected]>2015-12-14 09:18:37 +0100
commit668d3cf8e1346695c8e9e58e658eb3bbe4f57a5a (patch)
tree3b6a7ee3ed967bed023068b8cb2a0c06a75c7cce /erts/emulator/beam/erl_node_tables.c
parent7d9d88e9adf040a17c8ffb01b069fb2a5d125dab (diff)
parent745159c619dbcb53a54acab3d3482311439a57fc (diff)
downloadotp-668d3cf8e1346695c8e9e58e658eb3bbe4f57a5a.tar.gz
otp-668d3cf8e1346695c8e9e58e658eb3bbe4f57a5a.tar.bz2
otp-668d3cf8e1346695c8e9e58e658eb3bbe4f57a5a.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/erl_node_tables.c')
-rw-r--r--erts/emulator/beam/erl_node_tables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_node_tables.c b/erts/emulator/beam/erl_node_tables.c
index 74e3e81d6f..106235ab30 100644
--- a/erts/emulator/beam/erl_node_tables.c
+++ b/erts/emulator/beam/erl_node_tables.c
@@ -752,6 +752,10 @@ erts_set_this_node(Eterm sysname, Uint creation)
erts_this_dist_entry = erts_this_node->dist_entry;
erts_refc_inc(&erts_this_dist_entry->refc, 2);
+
+ erts_this_node_sysname = erts_this_node_sysname_BUFFER;
+ erts_snprintf(erts_this_node_sysname, sizeof(erts_this_node_sysname_BUFFER),
+ "%T", sysname);
}
Uint