aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src/erlang.erl
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2012-11-12 16:17:08 +0100
committerPatrik Nyblom <[email protected]>2012-11-16 11:55:05 +0100
commit353246f2b391aed59cf23b4e9035e7b6fb331f8c (patch)
tree20a1297f65f891bb9800231c9bd5e2323dd2229e /erts/preloaded/src/erlang.erl
parent9bb99072b81210867dcb78543889f3a4aed945f4 (diff)
downloadotp-353246f2b391aed59cf23b4e9035e7b6fb331f8c.tar.gz
otp-353246f2b391aed59cf23b4e9035e7b6fb331f8c.tar.bz2
otp-353246f2b391aed59cf23b4e9035e7b6fb331f8c.zip
Fix spec for erlang:process_info/{1,2}
Diffstat (limited to 'erts/preloaded/src/erlang.erl')
-rw-r--r--erts/preloaded/src/erlang.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 46f6b51d1e..9e814ae54b 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -1837,7 +1837,7 @@ process_flag(_Flag, _Value) ->
{group_leader, GroupLeader :: pid()} |
{heap_size, Size :: non_neg_integer()} |
{initial_call, mfa()} |
- {links, Pids :: [pid()]} |
+ {links, Pids :: [pid() | port()]} |
{last_calls, false | (Calls :: [mfa()])} |
{memory, Size :: non_neg_integer()} |
{message_que_len, MessageQueueLen :: non_neg_integer()} |