aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_monitors.c
diff options
context:
space:
mode:
authorAndrew Dryga <[email protected]>2017-02-14 11:30:41 +0200
committerAndrew Dryga <[email protected]>2017-02-14 11:31:29 +0200
commit7c06ca6231b812965305522284dd9f2653ced98d (patch)
tree938476941b4275cdeef2e7824d9596ccdd47bee4 /erts/emulator/beam/erl_monitors.c
parentf3624a5a6357f2ebbdaad8785ea0f259bedd64bc (diff)
downloadotp-7c06ca6231b812965305522284dd9f2653ced98d.tar.gz
otp-7c06ca6231b812965305522284dd9f2653ced98d.tar.bz2
otp-7c06ca6231b812965305522284dd9f2653ced98d.zip
Fixed typos in erts
Diffstat (limited to 'erts/emulator/beam/erl_monitors.c')
-rw-r--r--erts/emulator/beam/erl_monitors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_monitors.c b/erts/emulator/beam/erl_monitors.c
index bdfc7f30d9..f813f19dbc 100644
--- a/erts/emulator/beam/erl_monitors.c
+++ b/erts/emulator/beam/erl_monitors.c
@@ -24,7 +24,7 @@
* key in the monitor case and the pid of the linked process as key in the
* link case. Lookups the order of the references is somewhat special. Local
* references are strictly smaller than remote references and are sorted
- * by inlined comparision functionality. Remote references are handled by the
+ * by inlined comparison functionality. Remote references are handled by the
* usual cmp function.
* Each Monitor is tagged with different tags depending on which end of the
* monitor it is.
@@ -154,7 +154,7 @@ static ErtsMonitor *create_monitor(Uint type, Eterm ref, Eterm pid, Eterm name)
n->type = (Uint16) type;
n->balance = 0; /* Always the same initial value */
n->name = name; /* atom() or [] */
- CP_LINK_VAL(n->ref, hp, ref); /*XXX Unneccesary check, never immediate*/
+ CP_LINK_VAL(n->ref, hp, ref); /*XXX Unnecessary check, never immediate*/
CP_LINK_VAL(n->pid, hp, pid);
return n;