File 0757-Fix-typos-in-erts-emulator-utils.patch of Package erlang

From d6de4d6d60b3ed26c9182bfd851c28f38d36ff8a Mon Sep 17 00:00:00 2001
From: "Kian-Meng, Ang" <kianmeng@cpan.org>
Date: Wed, 1 Dec 2021 04:40:02 +0800
Subject: [PATCH] Fix typos in erts/emulator/utils

---
 erts/emulator/utils/beam_makeops | 4 ++--
 erts/emulator/utils/count        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/erts/emulator/utils/beam_makeops b/erts/emulator/utils/beam_makeops
index a2087f6708..ad949b150b 100755
--- a/erts/emulator/utils/beam_makeops
+++ b/erts/emulator/utils/beam_makeops
@@ -2044,7 +2044,7 @@ sub do_pack_one {
         # to the left of the current micro instruction. If that is the
         # case, it is essential that we generate stacking and
         # unstacking instructions even when no packing is
-        # possible. (build_pack_spec() will remove any unecessary
+        # possible. (build_pack_spec() will remove any unnecessary
         # stacking and unstacking operations.)
         #
         # Here is an example. Say that we have this instruction:
@@ -2952,7 +2952,7 @@ sub group_tr {
     my($lref) = @_;
 
     #
-    # Group tranformations (while keeping the order) that all match the same
+    # Group transformations (while keeping the order) that all match the same
     # second instruction.
     #
     for (my $i = 0; $i < @$lref; $i++) {
diff --git a/erts/emulator/utils/count b/erts/emulator/utils/count
index e0a5e8bb9a..5d124bf139 100755
--- a/erts/emulator/utils/count
+++ b/erts/emulator/utils/count
@@ -24,7 +24,7 @@
 main(_) ->
     DisDir = "./dis",
     ok = filelib:ensure_dir(filename:join(DisDir, "dummy")),
-    io:format("Dissambling to ~s\n", [DisDir]),
+    io:format("Disassembling to ~s\n", [DisDir]),
     ok = file:set_cwd(DisDir),
     Path = code:get_path() -- ["."],
     Beams0 = [filelib:wildcard(filename:join(Dir, "*.beam")) ||
@@ -98,7 +98,7 @@ increment(Key, Inc) ->
     end.
 
 %%%
-%%% Counting sempahore to limit the number of processes that
+%%% Counting semaphore to limit the number of processes that
 %%% can run concurrently.
 %%%
 
-- 
2.31.1

openSUSE Build Service is sponsored by