aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-11-18 09:54:12 +0100
committerLukas Larsson <[email protected]>2013-11-18 09:54:12 +0100
commit1a6347e868d375bb4bd9cb4e6651c82ea57bc220 (patch)
treeb8edb243049863418747f35d435e9cc4ddfc11b8
parentf07816ab2826d2a4082442f1d8ca71b7bfb89a47 (diff)
downloadotp-1a6347e868d375bb4bd9cb4e6651c82ea57bc220.tar.gz
otp-1a6347e868d375bb4bd9cb4e6651c82ea57bc220.tar.bz2
otp-1a6347e868d375bb4bd9cb4e6651c82ea57bc220.zip
erts: Fix naming in erlang:monitor spec
-rw-r--r--erts/preloaded/src/erlang.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 2b6760c675..291926578e 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -1073,8 +1073,8 @@ module_loaded(_Module) ->
%% monitor/2
-spec monitor(Type, Item) -> MonitorRef when
Type :: process,
- Item :: pid() | Module | {Module, Node},
- Module :: module(),
+ Item :: pid() | RegName | {RegName, Node},
+ RegName :: module(),
Node :: node(),
MonitorRef :: reference().
monitor(_Type, _Item) ->