aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/src
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-10-20 15:03:05 +0200
committerDan Gudmundsson <[email protected]>2017-10-20 15:11:44 +0200
commitcdb1ca9e12901b95aadffff08124976ce9a27033 (patch)
tree026b48c9ace710f6c788e08660e189a270e4cc72 /lib/os_mon/src
parent62db6a63625ef67d7474da1efc8d4f65bfd8c251 (diff)
downloadotp-cdb1ca9e12901b95aadffff08124976ce9a27033.tar.gz
otp-cdb1ca9e12901b95aadffff08124976ce9a27033.tar.bz2
otp-cdb1ca9e12901b95aadffff08124976ce9a27033.zip
Fix lexemes conversion
Diffstat (limited to 'lib/os_mon/src')
-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 95cb798ba5..a30d962ad4 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:lexemes(String,"\r\n\t ")).
+clean_string(String) -> lists:flatten(string:lexemes(String,[[$\r,$\n]|"\n\t "])).
%%--Replying to pending clients-----------------------------------------