aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/disk_log_SUITE.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-09-02 08:40:55 +0200
committerHans Bolinder <[email protected]>2011-09-02 08:40:55 +0200
commitbb94e589c8495caf7c1fa6ebe808f6983ceaf44a (patch)
tree8a8cace285944209a52464eb8a2ecd7384094f8e /lib/kernel/test/disk_log_SUITE.erl
parent8811898efa3862fbb32f5c7cd7eff3535084bea7 (diff)
parentca7d2d43a839ab284104edea4663ada52d2c3e23 (diff)
downloadotp-bb94e589c8495caf7c1fa6ebe808f6983ceaf44a.tar.gz
otp-bb94e589c8495caf7c1fa6ebe808f6983ceaf44a.tar.bz2
otp-bb94e589c8495caf7c1fa6ebe808f6983ceaf44a.zip
Merge branch 'hb/spec_improvements/OTP-9485' into dev
* hb/spec_improvements/OTP-9485: Improve and correct types and specifications in Kernel and STDLIB
Diffstat (limited to 'lib/kernel/test/disk_log_SUITE.erl')
-rw-r--r--lib/kernel/test/disk_log_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/disk_log_SUITE.erl b/lib/kernel/test/disk_log_SUITE.erl
index 4ae47b4762..ee1e2319b5 100644
--- a/lib/kernel/test/disk_log_SUITE.erl
+++ b/lib/kernel/test/disk_log_SUITE.erl
@@ -4917,7 +4917,7 @@ mark(FileName, What) ->
ok = file:close(Fd).
crash(File, Where) ->
- {ok, Fd} = file:open(File, read_write),
+ {ok, Fd} = file:open(File, [read,write]),
file:position(Fd, Where),
ok = file:write(Fd, [10]),
ok = file:close(Fd).
@@ -4933,7 +4933,7 @@ writable(Fname) ->
file:write_file_info(Fname, Info#file_info{mode = Mode}).
truncate(File, Where) ->
- {ok, Fd} = file:open(File, read_write),
+ {ok, Fd} = file:open(File, [read,write]),
file:position(Fd, Where),
ok = file:truncate(Fd),
ok = file:close(Fd).