aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorPierre Fenoll <[email protected]>2017-08-08 13:21:03 -0700
committerPierre Fenoll <[email protected]>2017-08-08 13:21:03 -0700
commit03e1ac9423e2b8d3ad51731c426a51e09821529d (patch)
treef901f9d497f1da19c38f8e0f1f1e4acad7f6f386 /lib/stdlib
parent520310feef0d76c0f99447187f3574408b219ae5 (diff)
downloadotp-03e1ac9423e2b8d3ad51731c426a51e09821529d.tar.gz
otp-03e1ac9423e2b8d3ad51731c426a51e09821529d.tar.bz2
otp-03e1ac9423e2b8d3ad51731c426a51e09821529d.zip
gen_fsm-depre-20: fix gen_fsm deprecation recommendations after 20.0
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/otp_internal.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index 8933eb01b5..13268463ee 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -63,9 +63,9 @@ obsolete_1(gen_fsm, start, 4) ->
{deprecated, {gen_statem, start, 4}};
obsolete_1(gen_fsm, start_link, 3) ->
- {deprecated, {gen_statem, start, 3}};
+ {deprecated, {gen_statem, start_link, 3}};
obsolete_1(gen_fsm, start_link, 4) ->
- {deprecated, {gen_statem, start, 4}};
+ {deprecated, {gen_statem, start_link, 4}};
obsolete_1(gen_fsm, stop, 1) ->
{deprecated, {gen_statem, stop, 1}};
@@ -83,9 +83,9 @@ obsolete_1(gen_fsm, reply, 2) ->
{deprecated, {gen_statem, reply, 2}};
obsolete_1(gen_fsm, send_event, 2) ->
- {deprecated, {gen_statem, cast, 1}};
+ {deprecated, {gen_statem, cast, 2}};
obsolete_1(gen_fsm, send_all_state_event, 2) ->
- {deprecated, {gen_statem, cast, 1}};
+ {deprecated, {gen_statem, cast, 2}};
obsolete_1(gen_fsm, sync_send_event, 2) ->
{deprecated, {gen_statem, call, 2}};