aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-16 10:09:04 +0100
committerBjörn Gustavsson <[email protected]>2016-03-16 10:11:12 +0100
commitaae682cebfbb747565b5a6536f646e6c8d9e3b26 (patch)
treead94496994733c1dbc70c76ce877946dff29e670
parent12c3609f15dbe367684ecb506b61f07c15205c51 (diff)
downloadotp-aae682cebfbb747565b5a6536f646e6c8d9e3b26.tar.gz
otp-aae682cebfbb747565b5a6536f646e6c8d9e3b26.tar.bz2
otp-aae682cebfbb747565b5a6536f646e6c8d9e3b26.zip
init: Correct spec for fetch_loaded/1
fetch_loaded/1 returns a list of tuples, not a list of atoms.
-rw-r--r--erts/preloaded/src/init.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/init.erl b/erts/preloaded/src/init.erl
index ed65c57c0d..5de3732c20 100644
--- a/erts/preloaded/src/init.erl
+++ b/erts/preloaded/src/init.erl
@@ -129,7 +129,7 @@ bs2ss(L) ->
get_status() ->
request(get_status).
--spec fetch_loaded() -> [atom()].
+-spec fetch_loaded() -> [{module(),file:filename()}].
fetch_loaded() ->
request(fetch_loaded).