aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-02-19 14:21:28 +0100
committerHans Bolinder <[email protected]>2013-02-19 14:31:52 +0100
commitd36e25df20fe0bf7490bae57de17fc882b10a25c (patch)
tree4a65c850b48de2e5b7d5406a616d2b22be941699 /lib/stdlib
parente6613acf5a29c882d4673c6a8371e03523f9590c (diff)
downloadotp-d36e25df20fe0bf7490bae57de17fc882b10a25c.tar.gz
otp-d36e25df20fe0bf7490bae57de17fc882b10a25c.tar.bz2
otp-d36e25df20fe0bf7490bae57de17fc882b10a25c.zip
Use ~ts for filenames
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/c.erl2
-rw-r--r--lib/stdlib/src/qlc.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/c.erl b/lib/stdlib/src/c.erl
index e31ae6b9ef..91d317489c 100644
--- a/lib/stdlib/src/c.erl
+++ b/lib/stdlib/src/c.erl
@@ -512,7 +512,7 @@ m(M) ->
print_object_file(Mod) ->
case code:is_loaded(Mod) of
{file,File} ->
- format("Object file: ~s\n", [File]);
+ format("Object file: ~ts\n", [File]);
_ ->
ignore
end.
diff --git a/lib/stdlib/src/qlc.erl b/lib/stdlib/src/qlc.erl
index 6a27cff589..48f6622565 100644
--- a/lib/stdlib/src/qlc.erl
+++ b/lib/stdlib/src/qlc.erl
@@ -3709,7 +3709,7 @@ maybe_error_logger(Name, Why) ->
Trimmer = fun(M, _F, _A) -> M =:= erl_eval end,
Formater = fun(Term, I) -> io_lib:print(Term, I, 80, -1) end,
X = lib:format_stacktrace(1, Stacktrace, Trimmer, Formater),
- error_logger:Name("qlc: temporary file was needed for ~w\n~s\n",
+ error_logger:Name("qlc: temporary file was needed for ~w\n~ts\n",
[Why, lists:flatten(X)]).
expand_stacktrace() ->