aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/src/memsup.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-06-30 12:20:10 +0200
committerSiri Hansen <[email protected]>2017-09-15 17:07:49 +0200
commit9848b6c8c1da15137f71b57c9db923c5e5162e82 (patch)
treecf431ad8f237d0859e9680f6c43c54fd49de3821 /lib/os_mon/src/memsup.erl
parentd3371553edcd078b9313c3f94c230fa4f746f8f9 (diff)
downloadotp-9848b6c8c1da15137f71b57c9db923c5e5162e82.tar.gz
otp-9848b6c8c1da15137f71b57c9db923c5e5162e82.tar.bz2
otp-9848b6c8c1da15137f71b57c9db923c5e5162e82.zip
os_mon: Do not use deprecated functions in string(3)
Diffstat (limited to 'lib/os_mon/src/memsup.erl')
-rw-r--r--lib/os_mon/src/memsup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/src/memsup.erl b/lib/os_mon/src/memsup.erl
index 0a9a883390..95cb798ba5 100644
--- a/lib/os_mon/src/memsup.erl
+++ b/lib/os_mon/src/memsup.erl
@@ -705,7 +705,7 @@ get_os_wordsize_with_uname() ->
_ -> 32
end.
-clean_string(String) -> lists:flatten(string:tokens(String,"\r\n\t ")).
+clean_string(String) -> lists:flatten(string:lexemes(String,"\r\n\t ")).
%%--Replying to pending clients-----------------------------------------