libcpu: fix spelling typos in comments
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 12 Dec 2020 16:50:57 +0000 (19:50 +0300)
committerMark Wielaard <mark@klomp.org>
Sat, 12 Dec 2020 17:06:28 +0000 (18:06 +0100)
layed -> laid
adressing -> addressing

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
libcpu/ChangeLog
libcpu/bpf_disasm.c
libcpu/i386_disasm.c

index a342b7f..000105b 100644 (file)
@@ -1,3 +1,8 @@
+2020-12-12  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * bpf_disasm.c (bswap_bpf_insn): Fix spelling typo in comment.
+       * i386_disasm.c (i386_disasm): Likewise.
+
 2020-05-09  Mark Wielaard  <mark@klomp.org>
 
        * i386_parse.y (new_bitfield): Call free newp on error.
index 3d92d01..62643c8 100644 (file)
@@ -74,7 +74,7 @@ static void
 bswap_bpf_insn (struct bpf_insn *p)
 {
   /* Note that the dst_reg and src_reg fields are 4-bit bitfields.
-     That means these two nibbles are (typically) layed out in the
+     That means these two nibbles are (typically) laid out in the
      opposite order between big- and little-endian hosts.  This is
      not required by any standard, but does happen to be true for
      at least ppc, s390, arm and mips as big-endian hosts.  */
index 32df8cd..fd7340c 100644 (file)
@@ -588,7 +588,7 @@ i386_disasm (Ebl *ebl __attribute__((unused)),
            }
 
          /* We have a match.  First determine how many bytes are
-            needed for the adressing mode.  */
+            needed for the addressing mode.  */
          param_start = codep;
          if (instrtab[cnt].modrm)
            {