aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-09-19 15:55:53 +0200
committerBjörn Gustavsson <[email protected]>2012-09-26 15:39:05 +0200
commitf957943503936c9b91c7ab9a24cae050b7ab5381 (patch)
tree1ab64f55b44aa501c6f9d970e188396b4feddef8 /lib
parentd599c41d10447dc5872db3e86d1899ff122bfb6c (diff)
downloadotp-f957943503936c9b91c7ab9a24cae050b7ab5381.tar.gz
otp-f957943503936c9b91c7ab9a24cae050b7ab5381.tar.bz2
otp-f957943503936c9b91c7ab9a24cae050b7ab5381.zip
test_server_ctrl: Don't use undocumented features of io:format()
The Format string argument for io:format/3 is not documented to accept an iolist, so we should not depend on it. Fix the problem by using io:put_chars/2 instead.
Diffstat (limited to 'lib')
-rw-r--r--lib/test_server/src/test_server_ctrl.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/test_server/src/test_server_ctrl.erl b/lib/test_server/src/test_server_ctrl.erl
index f7266e5632..7b3ccd5338 100644
--- a/lib/test_server/src/test_server_ctrl.erl
+++ b/lib/test_server/src/test_server_ctrl.erl
@@ -5834,11 +5834,11 @@ write_default_cross_coverlog(TestDir) ->
{ok,CrossCoverLog} =
file:open(filename:join(TestDir,?cross_coverlog_name), [write]),
write_coverlog_header(CrossCoverLog),
- io:fwrite(CrossCoverLog,
- ["No cross cover modules exist for this application,",
- xhtml("<br>","<br />"),
- "or cross cover analysis is not completed.\n"
- "</body></html>\n"], []),
+ io:put_chars(CrossCoverLog,
+ ["No cross cover modules exist for this application,",
+ xhtml("<br>","<br />"),
+ "or cross cover analysis is not completed.\n"
+ "</body></html>\n"]),
file:close(CrossCoverLog).
write_cover_result_table(CoverLog,Coverage) ->