aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorZandra <[email protected]>2015-10-02 15:46:13 +0200
committerZandra <[email protected]>2015-10-02 15:46:13 +0200
commitd3fdc0ac35193a9561afe402dd78e59abc734c91 (patch)
tree10f715655a8cd267c3f3daab3f35c06274a0b779 /lib
parent584027ceea20c6e65f4b712c29ad2ae89fca8fb0 (diff)
parent16212e0495c43e5cba11aeddd0adc9da520b3f45 (diff)
downloadotp-d3fdc0ac35193a9561afe402dd78e59abc734c91.tar.gz
otp-d3fdc0ac35193a9561afe402dd78e59abc734c91.tar.bz2
otp-d3fdc0ac35193a9561afe402dd78e59abc734c91.zip
Merge branch 'nybek/supervisor_reporting_error' into maint
* nybek/supervisor_reporting_error: Fix supervisor reporting error
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/supervisor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/supervisor.erl b/lib/stdlib/src/supervisor.erl
index 3c77501c0f..92a0c29011 100644
--- a/lib/stdlib/src/supervisor.erl
+++ b/lib/stdlib/src/supervisor.erl
@@ -1083,7 +1083,7 @@ wait_dynamic_children(#child{restart_type=RType} = Child, Pids, Sz,
{timeout, TRef, kill} ->
?SETS:fold(fun(P, _) -> exit(P, kill) end, ok, Pids),
- wait_dynamic_children(Child, Pids, Sz-1, undefined, EStack)
+ wait_dynamic_children(Child, Pids, Sz, undefined, EStack)
end.
%%-----------------------------------------------------------------