File 0142-Fix-changelog-in-gen_statem.patch of Package erlang
From c09b12bed84a0497a7725cd27e88cf81cf86c02b Mon Sep 17 00:00:00 2001
From: Benedikt Reinartz <filmor@gmail.com>
Date: Wed, 16 Oct 2024 19:47:33 +0200
Subject: [PATCH] Fix changelog in gen_statem
---
lib/stdlib/src/gen_statem.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl
index bb2bbbd6ae..150ba7455b 100644
--- a/lib/stdlib/src/gen_statem.erl
+++ b/lib/stdlib/src/gen_statem.erl
@@ -447,14 +447,14 @@ handle_event(_, _, State, Data) ->
> [`wait_response/1,2`](`wait_response/2`), and `check_response/2`.
> - In OTP 24.0 [`receive_response/1,2`](`receive_response/2`) were added.
> - In OTP 25.0 [`Module:format_status/1`](`c:format_status/1`)
-> was added to replace [`Module:format_status/1`](`c:format_status/1`),
+> was added to replace [`Module:format_status/2`](`c:format_status/2`),
> as well as functions for collections of asynchronous calls:
> `send_request/4`, `wait_response/3`, `receive_response/3`,
> `check_response/3`, `reqids_new/0`, `reqids_size/1`,
> `reqids_add/3`, `reqids_to_list/1`.
> - In OTP 26.0 the possibility to return `{error, Reason}` from
> [`Module:init/1`](`c:init/1`) was added.
-> - In OTP 27.0 [`Module:format_status/1`](`c:format_status/1`)
+> - In OTP 27.0 [`Module:format_status/2`](`c:format_status/2`)
> was deprecated.
## See Also
--
2.43.0