aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_info.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-04-20 12:36:28 +0200
committerHans Nilsson <[email protected]>2016-04-27 13:36:53 +0200
commit0594459c07da22dd527d06ad694f30bbdd443c6e (patch)
tree5bfe7cbda25a53b520fcc747dda76e3be466aa3c /lib/ssh/src/ssh_info.erl
parentfcaf134960f30f96afd08626c2680be84094e1a9 (diff)
downloadotp-0594459c07da22dd527d06ad694f30bbdd443c6e.tar.gz
otp-0594459c07da22dd527d06ad694f30bbdd443c6e.tar.bz2
otp-0594459c07da22dd527d06ad694f30bbdd443c6e.zip
ssh: fix dialyzer warnings and errors
Diffstat (limited to 'lib/ssh/src/ssh_info.erl')
-rw-r--r--lib/ssh/src/ssh_info.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_info.erl b/lib/ssh/src/ssh_info.erl
index 67130d5eac..0c24c09887 100644
--- a/lib/ssh/src/ssh_info.erl
+++ b/lib/ssh/src/ssh_info.erl
@@ -37,7 +37,7 @@ print() ->
io:format("~s", [string()]).
print(File) when is_list(File) ->
- {ok,D} = file:open(File, write),
+ {ok,D} = file:open(File, [write]),
print(D),
file:close(D);
print(D) ->