binutils/readelf: fix indentation in process_dynamic_section
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 4 Mar 2022 15:57:14 +0000 (10:57 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 4 Mar 2022 15:57:14 +0000 (10:57 -0500)
Clangd shows a warning about misleading indentation in this file, fix
it.

binutils/ChangeLog:

* readelf.c (process_dynamic_section): Fix indentation.

Change-Id: I43a7f4f4c75dd080af614222b980526f5debf297

binutils/ChangeLog
binutils/readelf.c

index 07e09cdf3414f7e2bdf5c55ffc0ae7454eca432c..1a8da33f5096aff7b7c66ab6f05f93a2ddba9cab 100644 (file)
@@ -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.
index b208db593342f1afefd942e3bab4f72efff8e259..16efe1dfd2db6f8256eed4dd36aafd73dcff3425 100644 (file)
@@ -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"));