diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-03-04 10:57:14 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-03-04 10:57:14 -0500 |
commit | 84a9f1953047dee70f45ae8ac276ea3d8293351d (patch) | |
tree | 28a20ba7c29f266d26eaecf65bf50863f2b0d0e0 /binutils | |
parent | e8db803129822d3df8e773f28dd99105a84d881d (diff) | |
download | gdb-84a9f1953047dee70f45ae8ac276ea3d8293351d.zip gdb-84a9f1953047dee70f45ae8ac276ea3d8293351d.tar.gz gdb-84a9f1953047dee70f45ae8ac276ea3d8293351d.tar.bz2 |
binutils/readelf: fix indentation in process_dynamic_section
Clangd shows a warning about misleading indentation in this file, fix
it.
binutils/ChangeLog:
* readelf.c (process_dynamic_section): Fix indentation.
Change-Id: I43a7f4f4c75dd080af614222b980526f5debf297
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 07e09cd..1a8da33 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2022-03-04 Simon Marchi <simon.marchi@polymtl.ca> + + * readelf.c (process_dynamic_section): Fix indentation. + 2022-02-09 Nick Clifton <nickc@redhat.com> * README-how-to-make-a-release: Update after the 2.38 release. diff --git a/binutils/readelf.c b/binutils/readelf.c index b208db5..16efe1d 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -11297,12 +11297,12 @@ the .dynstr section doesn't match the DT_STRTAB and DT_STRSZ tags\n")); filedata->file_name, filedata->dynamic_addr, (unsigned long) filedata->dynamic_nent); - else - printf (ngettext ("\nDynamic section at offset 0x%lx contains %lu entry:\n", - "\nDynamic section at offset 0x%lx contains %lu entries:\n", - (unsigned long) filedata->dynamic_nent), - filedata->dynamic_addr, - (unsigned long) filedata->dynamic_nent); + else + printf (ngettext ("\nDynamic section at offset 0x%lx contains %lu entry:\n", + "\nDynamic section at offset 0x%lx contains %lu entries:\n", + (unsigned long) filedata->dynamic_nent), + filedata->dynamic_addr, + (unsigned long) filedata->dynamic_nent); } if (do_dynamic) printf (_(" Tag Type Name/Value\n")); |