File 1057-Fix-typos-in-system_monitor-2-documentation.patch of Package erlang

From a9b99a7ec5606b8a2d84ee6568134f7d6568a442 Mon Sep 17 00:00:00 2001
From: felipe stival <v0idpwn@gmail.com>
Date: Tue, 1 Jul 2025 12:00:33 -0300
Subject: [PATCH] Fix typos in system_monitor/2 documentation

---
 erts/preloaded/src/erlang.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 74428e4109..31848f1037 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -6360,10 +6360,10 @@ The second argument is a list of monitoring options to enable:
 For more detailed descriptions about the monitoring options, see
 `trace:system/3`.
 
-Unlink `trace:system/3`, the arguments to
-[`system_monitor/2`](`system_monitor/2`) specifies how all system monitoring
-should be set, not how it should be changed. This means only one process
-at a time (`MonitorPid`) can be the receiver of messages from system monitoring set
+Unlike `trace:system/3`, the arguments to
+[`system_monitor/2`](`system_monitor/2`) specify how all system monitoring
+should be set, not how it should be changed. This means only one process at a
+time (`MonitorPid`) can be the receiver of messages from system monitoring set
 with this function. Also, the way to clear a specific monitor option is to not
 include it in the list `Options`. All system monitoring will, however, be
 cleared if the process identified by `MonitorPid` terminates.
-- 
2.43.0

openSUSE Build Service is sponsored by