readelf: avoid shadowing a libiberty symbol
[deliverable/binutils-gdb.git] / binutils / readelf.c
index 4ed948c651eaee865667ddfc360a4828ba028cce..5e8fe824b3e4f395015c867ffc21fb80308a81f1 100644 (file)
@@ -13848,10 +13848,10 @@ shdr_to_ctf_sect (ctf_sect_t *buf, Elf_Internal_Shdr *shdr, Filedata *filedata)
 static char *dump_ctf_indent_lines (ctf_sect_names_t sect ATTRIBUTE_UNUSED,
                                    char *s, void *arg)
 {
-  char *spaces = arg;
+  const char *blanks = arg;
   char *new_s;
 
-  if (asprintf (&new_s, "%s%s", spaces, s) < 0)
+  if (asprintf (&new_s, "%s%s", blanks, s) < 0)
     return s;
   return new_s;
 }
This page took 0.026475 seconds and 4 git commands to generate.