File 0300-Fix-doc-spelling.patch of Package erlang

From c52ba1f886717a99bd7bda26c7a43f26cf058c86 Mon Sep 17 00:00:00 2001
From: Cheng Zhe <chengzhe02@qq.com>
Date: Mon, 26 Apr 2021 08:33:21 +0800
Subject: [PATCH] Fix doc spelling

Fix doc spelling
---
 lib/stdlib/src/supervisor.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stdlib/src/supervisor.erl b/lib/stdlib/src/supervisor.erl
index 1ee7f1bd35..a42386ee2e 100644
--- a/lib/stdlib/src/supervisor.erl
+++ b/lib/stdlib/src/supervisor.erl
@@ -1181,7 +1181,7 @@ find_dynamic_child(Pid, State) ->
             error
     end.
 
-%% Given the pid, find the child record for a non-dyanamic child.
+%% Given the pid, find the child record for a non-dynamic child.
 -spec find_child_by_pid(IdOrPid, state()) -> {ok,child_rec()} | error when
       IdOrPid :: pid() | {restarting,pid()}.
 find_child_by_pid(Pid,#state{children={_Ids,Db}}) ->
-- 
2.26.2

openSUSE Build Service is sponsored by