aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_wx.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-07-06 17:25:37 +0200
committerSiri Hansen <[email protected]>2017-09-15 17:07:51 +0200
commitfb9235e7c3a6872a1394e5ba0c78217d9617f8e3 (patch)
tree758aa4ef26fac6475883450b4ccc599d23bcc08e /lib/observer/src/observer_wx.erl
parent09e2288b7a42345ea76e5e23ad93346c63efb06d (diff)
downloadotp-fb9235e7c3a6872a1394e5ba0c78217d9617f8e3.tar.gz
otp-fb9235e7c3a6872a1394e5ba0c78217d9617f8e3.tar.bz2
otp-fb9235e7c3a6872a1394e5ba0c78217d9617f8e3.zip
observer: Do not use deprecated functions in string(3)
Diffstat (limited to 'lib/observer/src/observer_wx.erl')
-rw-r--r--lib/observer/src/observer_wx.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_wx.erl b/lib/observer/src/observer_wx.erl
index 9b9e80f479..11dc380002 100644
--- a/lib/observer/src/observer_wx.erl
+++ b/lib/observer/src/observer_wx.erl
@@ -732,7 +732,7 @@ get_nodes() ->
{Nodes, lists:reverse(Menues)}.
epmd_nodes(Names) ->
- [_, Host] = string:tokens(atom_to_list(node()),"@"),
+ [_, Host] = string:lexemes(atom_to_list(node()),"@"),
[list_to_atom(Name ++ [$@|Host]) || {Name, _} <- Names].
update_node_list(State = #state{menubar=MenuBar}) ->