diff mbox series

Correct spelling of "alignment".

Message ID 20200305144039.32187-1-gprocida@google.com
State Committed
Headers show
Series Correct spelling of "alignment". | expand

Commit Message

Matthias Maennich via libabigail Jan. 1, 2020, midnight UTC
* src/abg-reporter-priv.cc: s/alignement/alignment/
	* tests/data/test-abidiff/test-struct0-report.txt: Ditto..
	* tests/data/test-abidiff/test-struct1-report.txt: Ditto.
	* tests/data/test-abidiff/test-var0-report.txt: Ditto.

Signed-off-by: Giuliano Procida <gprocida@google.com>
---
 src/abg-reporter-priv.cc                        | 2 +-
 tests/data/test-abidiff/test-struct0-report.txt | 2 +-
 tests/data/test-abidiff/test-struct1-report.txt | 2 +-
 tests/data/test-abidiff/test-var0-report.txt    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/src/abg-reporter-priv.cc b/src/abg-reporter-priv.cc
index 78ebd91b..29aa37cd 100644
--- a/src/abg-reporter-priv.cc
+++ b/src/abg-reporter-priv.cc
@@ -812,7 +812,7 @@  report_size_and_alignment_changes(type_or_decl_base_sptr	first,
       if (n)
 	out << "\n";
       out << indent;
-      show_numerical_change("type alignement", fa, sa, *ctxt, out,
+      show_numerical_change("type alignment", fa, sa, *ctxt, out,
 			    /*show_bits_or_bytes=*/false);
       n = true;
     }
diff --git a/tests/data/test-abidiff/test-struct0-report.txt b/tests/data/test-abidiff/test-struct0-report.txt
index 5c8d78ad..f6c4cece 100644
--- a/tests/data/test-abidiff/test-struct0-report.txt
+++ b/tests/data/test-abidiff/test-struct0-report.txt
@@ -7,7 +7,7 @@ 
      type of 'char s0::m1' changed:
        type name changed from 'char' to 'unsigned int'
        type size changed from 8 to 32 (in bits)
-       type alignement changed from 8 to 32
+       type alignment changed from 8 to 32
 
   's0&' changed:
     referenced type 'class s0' changed, as reported earlier
diff --git a/tests/data/test-abidiff/test-struct1-report.txt b/tests/data/test-abidiff/test-struct1-report.txt
index 7f372cd7..39b71e55 100644
--- a/tests/data/test-abidiff/test-struct1-report.txt
+++ b/tests/data/test-abidiff/test-struct1-report.txt
@@ -13,7 +13,7 @@ 
      type of 'int s0::m0' changed:
        type name changed from 'int' to 'char'
        type size changed from 32 to 8 (in bits)
-       type alignement changed from 32 to 8
+       type alignment changed from 32 to 8
 
      'unsigned int s0::m2' offset changed from 128 to 192 (in bits) (by +64 bits)
   'const s0' changed:
diff --git a/tests/data/test-abidiff/test-var0-report.txt b/tests/data/test-abidiff/test-var0-report.txt
index 08f28f7f..b4c9a38e 100644
--- a/tests/data/test-abidiff/test-var0-report.txt
+++ b/tests/data/test-abidiff/test-var0-report.txt
@@ -3,4 +3,4 @@ 
     type of variable changed:
      type name changed from 'int' to 'char'
      type size changed from 32 to 8 (in bits)
-     type alignement changed from 32 to 8
+     type alignment changed from 32 to 8