File 0146-Fix-signature-of-f_recv-in-alt_dist-doc.patch of Package erlang

From 5783d04cc0a56fcc4c4adb1cc4dd4f34b03abf91 Mon Sep 17 00:00:00 2001
From: Paul Guyot <pguyot@kallisys.net>
Date: Sun, 30 Mar 2025 08:33:01 +0200
Subject: [PATCH] Fix signature of f_recv in alt_dist doc

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
---
 erts/doc/guides/alt_dist.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/doc/guides/alt_dist.md b/erts/doc/guides/alt_dist.md
index 8f8f0dad31..6e5c321085 100644
--- a/erts/doc/guides/alt_dist.md
+++ b/erts/doc/guides/alt_dist.md
@@ -423,7 +423,7 @@ The following `#hs_data{}` record fields need to be set unless otherwise stated:
 - **`f_recv`{: #hs_data_f_recv }** - A fun with the following signature:
 
   ```erlang
-  fun (DistCtrlr, Length) -> {ok, Packet} | {error, Reason}
+  fun (DistCtrlr, Length, Timeout) -> {ok, Packet} | {error, Reason}
   ```
 
   where `DistCtrlr` is the identifier of the distribution controller. If
-- 
2.43.0

openSUSE Build Service is sponsored by