diff options
author | Dan Gudmundsson <[email protected]> | 2013-08-30 12:09:07 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2014-01-21 10:56:50 +0100 |
commit | 39c0803372e168dc4841ca640072eac2dd088e41 (patch) | |
tree | 7ae62e8c1187c25876d1703b8cc7613a9c9615d5 /lib/stdlib | |
parent | 048400b08872d95ce7a8b48e346b49971acb6506 (diff) | |
download | otp-39c0803372e168dc4841ca640072eac2dd088e41.tar.gz otp-39c0803372e168dc4841ca640072eac2dd088e41.tar.bz2 otp-39c0803372e168dc4841ca640072eac2dd088e41.zip |
stdlib: Fix format if module resides in a unicode directory
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/src/c.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/c.erl b/lib/stdlib/src/c.erl index fb6b8c8661..30140e20af 100644 --- a/lib/stdlib/src/c.erl +++ b/lib/stdlib/src/c.erl @@ -450,7 +450,7 @@ m() -> foreach(fun ({Mod,File}) -> mformat(Mod, File) end, sort(code:all_loaded())). mformat(A1, A2) -> - format("~-20s ~s\n", [A1,A2]). + format("~-20s ~ts\n", [A1,A2]). %% erlangrc(Home) %% Try to run a ".erlang" file, first in the current directory @@ -716,7 +716,7 @@ ls(Dir) -> {error, enotdir} -> ls_print([Dir]); {error, Error} -> - format("~s\n", [file:format_error(Error)]) + format("~ts\n", [file:format_error(Error)]) end. ls_print([]) -> ok; |