diff options
author | Hans Bolinder <[email protected]> | 2013-02-19 14:21:28 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2013-02-19 14:31:52 +0100 |
commit | d36e25df20fe0bf7490bae57de17fc882b10a25c (patch) | |
tree | 4a65c850b48de2e5b7d5406a616d2b22be941699 /lib/edoc/src/edoc_tags.erl | |
parent | e6613acf5a29c882d4673c6a8371e03523f9590c (diff) | |
download | otp-d36e25df20fe0bf7490bae57de17fc882b10a25c.tar.gz otp-d36e25df20fe0bf7490bae57de17fc882b10a25c.tar.bz2 otp-d36e25df20fe0bf7490bae57de17fc882b10a25c.zip |
Use ~ts for filenames
Diffstat (limited to 'lib/edoc/src/edoc_tags.erl')
-rw-r--r-- | lib/edoc/src/edoc_tags.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/edoc/src/edoc_tags.erl b/lib/edoc/src/edoc_tags.erl index 2d986988c2..eb41f1922a 100644 --- a/lib/edoc/src/edoc_tags.erl +++ b/lib/edoc/src/edoc_tags.erl @@ -391,10 +391,10 @@ parse_header(Data, Line, Env, Where) when is_list(Where) -> -spec throw_error(line(), err()) -> no_return(). throw_error(L, {read_file, File, R}) -> - throw_error(L, {"error reading file '~s': ~w", + throw_error(L, {"error reading file '~ts': ~w", [edoc_lib:filename(File), R]}); throw_error(L, {file_not_found, F}) -> - throw_error(L, {"file not found: ~s", [F]}); + throw_error(L, {"file not found: ~ts", [F]}); throw_error(L, file_not_string) -> throw_error(L, "expected file name as a string"); throw_error(L, D) -> |