btr-reader: Fix wording typo

* 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>
This commit is contained in:
Dodji Seketeli 2024-02-15 18:00:39 +01:00
parent 3ef420673b
commit 88a6e27348

View File

@ -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);