aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/observer_procinfo.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-06-08 13:39:56 +0200
committerSiri Hansen <[email protected]>2016-06-08 13:39:56 +0200
commit41d1444bb13317f78fdf600a7102ff9f7cb12d13 (patch)
treecc4503dd40ad240c0fe46cc955e7975e8f020e77 /lib/observer/src/observer_procinfo.erl
parenta029b8a7da7d1f6f34275cd209aabb5f8fec25bb (diff)
parente2577531278c5dde283c4ab7be766d081c363ec3 (diff)
downloadotp-41d1444bb13317f78fdf600a7102ff9f7cb12d13.tar.gz
otp-41d1444bb13317f78fdf600a7102ff9f7cb12d13.tar.bz2
otp-41d1444bb13317f78fdf600a7102ff9f7cb12d13.zip
Merge branch 'josevalim/supervisor-get-callback-module/PR-1000/OTP-13619'
* josevalim/supervisor-get-callback-module/PR-1000/OTP-13619: Return callback module in supervisor format_status
Diffstat (limited to 'lib/observer/src/observer_procinfo.erl')
-rw-r--r--lib/observer/src/observer_procinfo.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_procinfo.erl b/lib/observer/src/observer_procinfo.erl
index fe2aa11450..620979dcc9 100644
--- a/lib/observer/src/observer_procinfo.erl
+++ b/lib/observer/src/observer_procinfo.erl
@@ -317,7 +317,7 @@ fetch_state_info2(Pid, M) ->
of
{status, _, {module, _},
[_PDict, _SysState, _Parent, _Dbg,
- [Header,{data, First},{data, Second}]]} ->
+ [Header,{data, First},{data, Second}|_]]} ->
[{"Behaviour", B}, Header] ++ First ++ Second;
{status, _, {module, _},
[_PDict, _SysState, _Parent, _Dbg,