aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-06-09 10:53:47 +0200
committerHans Bolinder <[email protected]>2017-06-09 13:24:44 +0200
commit388a94b62b8322fc5466597816a70274c0269f5b (patch)
tree090cba7ee10dd57da9e3a39b360c2ae2be5cb2d7 /lib/runtime_tools
parent50b77f66ee3fd99323848bc70415ef31f598c639 (diff)
downloadotp-388a94b62b8322fc5466597816a70274c0269f5b.tar.gz
otp-388a94b62b8322fc5466597816a70274c0269f5b.tar.bz2
otp-388a94b62b8322fc5466597816a70274c0269f5b.zip
stdlib: Handle Unicode atoms in ms_transform
Diffstat (limited to 'lib/runtime_tools')
-rw-r--r--lib/runtime_tools/src/dbg.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/runtime_tools/src/dbg.erl b/lib/runtime_tools/src/dbg.erl
index f17aa528ed..9989cf5c07 100644
--- a/lib/runtime_tools/src/dbg.erl
+++ b/lib/runtime_tools/src/dbg.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2016. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2017. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -50,7 +50,7 @@ fun2ms(ShellFun) when is_function(ShellFun) ->
case ms_transform:transform_from_shell(
?MODULE,Clauses,ImportList) of
{error,[{_,[{_,_,Code}|_]}|_],_} ->
- io:format("Error: ~s~n",
+ io:format("Error: ~ts~n",
[ms_transform:format_error(Code)]),
{error,transform_error};
Else ->