From 034680f6d2063a83cab517d94cb12367a2cbe370 Mon Sep 17 00:00:00 2001 From: Kenneth Lundin Date: Fri, 5 Feb 2016 12:26:01 +0100 Subject: Minor correction of documentation as reported in bugs.erlang.org:ERL-87 --- lib/ssh/doc/src/ssh_sftp.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/ssh') diff --git a/lib/ssh/doc/src/ssh_sftp.xml b/lib/ssh/doc/src/ssh_sftp.xml index c6ca0f161a..f4b41b74f3 100644 --- a/lib/ssh/doc/src/ssh_sftp.xml +++ b/lib/ssh/doc/src/ssh_sftp.xml @@ -333,7 +333,7 @@ position(ChannelPid, Handle, Location) -> - position(ChannelPid, Handle, Location, Timeout) -> {ok, NewPosition | {error, Error} + position(ChannelPid, Handle, Location, Timeout) -> {ok, NewPosition} | {error, Reason} Sets the file position of a file. ChannelPid = pid() @@ -399,7 +399,7 @@ pwrite(ChannelPid, Handle, Position, Data) -> ok - pwrite(ChannelPid, Handle, Position, Data, Timeout) -> ok | {error, Error} + pwrite(ChannelPid, Handle, Position, Data, Timeout) -> ok | {error, Reason} Writes to an open file. ChannelPid = pid() @@ -592,7 +592,7 @@ write(ChannelPid, Handle, Data) -> - write(ChannelPid, Handle, Data, Timeout) -> ok | {error, Error} + write(ChannelPid, Handle, Data, Timeout) -> ok | {error, Reason} Writes to an open file. ChannelPid = pid() -- cgit v1.2.3