diff options
author | Artur Wilniewczyc <[email protected]> | 2013-07-11 12:47:46 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-02-05 10:32:28 +0100 |
commit | 2e308dab294943f3f752b315ad5d5ce52ae4bf52 (patch) | |
tree | 69dabb48ff4da23ba7f221fb214bca85a2d42d0b | |
parent | ad4ff4a083c84c99c054f7948368e7d15f64b701 (diff) | |
download | otp-2e308dab294943f3f752b315ad5d5ce52ae4bf52.tar.gz otp-2e308dab294943f3f752b315ad5d5ce52ae4bf52.tar.bz2 otp-2e308dab294943f3f752b315ad5d5ce52ae4bf52.zip |
Add missing brackets to report formatting on ftp_progress process exit
When progress reporting process exits, ftp client crashes
because of missing brackets in io_lib:format argument.
-rw-r--r-- | lib/inets/src/ftp/ftp.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/ftp/ftp.erl b/lib/inets/src/ftp/ftp.erl index 6197838d92..6b891522fe 100644 --- a/lib/inets/src/ftp/ftp.erl +++ b/lib/inets/src/ftp/ftp.erl @@ -1463,7 +1463,7 @@ handle_info({'DOWN', _Ref, _Type, Process, Reason}, State) -> handle_info({'EXIT', Pid, Reason}, #state{progress = Pid} = State) -> Report = io_lib:format("Progress reporting stopped for reason ~p~n", - Reason), + [Reason]), error_logger:info_report(Report), {noreply, State#state{progress = ignore}}; |