aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorArtur Wilniewczyc <[email protected]>2013-07-11 12:47:46 +0200
committerIngela Anderton Andin <[email protected]>2014-02-05 10:32:28 +0100
commit2e308dab294943f3f752b315ad5d5ce52ae4bf52 (patch)
tree69dabb48ff4da23ba7f221fb214bca85a2d42d0b /lib/inets
parentad4ff4a083c84c99c054f7948368e7d15f64b701 (diff)
downloadotp-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.
Diffstat (limited to 'lib/inets')
-rw-r--r--lib/inets/src/ftp/ftp.erl2
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}};