aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-06-13 09:15:16 +0200
committerGitHub <[email protected]>2019-06-13 09:15:16 +0200
commit7a767d7b25cb0f55031728eb73d3bbad9a5f2db5 (patch)
tree12e8a6ecc888a12ff09630110275a787b16fad9e /lib/erl_docgen
parent1fd0c567f14f67c681c7cc54950232e82001f0f5 (diff)
parent3ed5fb98d2a24058aee91f96c2a779f15ac695dd (diff)
downloadotp-7a767d7b25cb0f55031728eb73d3bbad9a5f2db5.tar.gz
otp-7a767d7b25cb0f55031728eb73d3bbad9a5f2db5.tar.bz2
otp-7a767d7b25cb0f55031728eb73d3bbad9a5f2db5.zip
Merge pull request #2279 from lyrra/specs_gen
[trivial] specs_gen script fix error message
Diffstat (limited to 'lib/erl_docgen')
-rw-r--r--lib/erl_docgen/priv/bin/specs_gen.escript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/bin/specs_gen.escript b/lib/erl_docgen/priv/bin/specs_gen.escript
index 859f3c21f5..116240530d 100644
--- a/lib/erl_docgen/priv/bin/specs_gen.escript
+++ b/lib/erl_docgen/priv/bin/specs_gen.escript
@@ -131,7 +131,7 @@ write_text(Text, File, Dir) ->
ok;
{error, R} ->
R1 = file:format_error(R),
- io:format("could not write file '~s': ~s\n", [File, R1]),
+ io:format("could not write file '~s': ~s\n", [OutFile, R1]),
halt(2)
end.