aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-05-31 10:00:49 +0200
committerDan Gudmundsson <[email protected]>2017-05-31 10:00:49 +0200
commit9802f78ba453f242e3f5bbeacd6f7fb7a822b8c0 (patch)
treef254a38f7966e04cebd68749b9049bc06487ac59
parentb182febe36aa63eb8290f24ba4b7932673a9a9bc (diff)
downloadotp-9802f78ba453f242e3f5bbeacd6f7fb7a822b8c0.tar.gz
otp-9802f78ba453f242e3f5bbeacd6f7fb7a822b8c0.tar.bz2
otp-9802f78ba453f242e3f5bbeacd6f7fb7a822b8c0.zip
mnesia: Print tables with ~ts to support unicode atoms
-rw-r--r--lib/mnesia/src/mnesia_controller.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_controller.erl b/lib/mnesia/src/mnesia_controller.erl
index 17b47c059e..93a7e21f4e 100644
--- a/lib/mnesia/src/mnesia_controller.erl
+++ b/lib/mnesia/src/mnesia_controller.erl
@@ -1888,7 +1888,7 @@ info_format(Tab, Size, Mem, Media) ->
StrT = mnesia_lib:pad_name(atom_to_list(Tab), 15, []),
StrS = mnesia_lib:pad_name(integer_to_list(Size), 8, []),
StrM = mnesia_lib:pad_name(integer_to_list(Mem), 8, []),
- io:format("~s: with ~s records occupying ~s ~s~n",
+ io:format("~ts: with ~s records occupying ~s ~s~n",
[StrT, StrS, StrM, Media]).
%% Handle early arrived messages