[PATCH, applied to master] btr-reader: Fix wording typo
Dodji Seketeli
dodji@redhat.com
Sun Feb 18 12:16:56 GMT 2024
Hello,
* src/abg-btf-reader.cc (reader::build_array_type): It's
lower_bound, not lower_boud. Duh.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applied to the master branch.
---
src/abg-btf-reader.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/abg-btf-reader.cc b/src/abg-btf-reader.cc
index 995ff5b4..0e949ef5 100644
--- a/src/abg-btf-reader.cc
+++ b/src/abg-btf-reader.cc
@@ -789,13 +789,13 @@ public:
if (!underlying_type)
return type_or_decl_base_sptr();
- uint64_t lower_boud = 0;
+ uint64_t lower_bound = 0;
// Note that arr->nelems can be 0;
uint64_t upper_bound = arr->nelems ? arr->nelems - 1: 0;
array_type_def::subrange_sptr subrange(new array_type_def::subrange_type
(env(), /*name=*/"",
- lower_boud, upper_bound,
+ lower_bound, upper_bound,
location()));
add_decl_to_scope(subrange, cur_tu()->get_global_scope());
canonicalize(subrange);
--
2.39.3
--
Dodji
More information about the Libabigail
mailing list