diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 611fc9b320..63822e40a9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2019-06-25 Jan Beulich + + * readelf.c (dump_ctf_indent_lines): Rename local variable + "spaces" to "blanks". + 2019-06-25 Jan Beulich * objdump.c (dump_ctf_indent_lines): Rename local variable diff --git a/binutils/readelf.c b/binutils/readelf.c index 4ed948c651..5e8fe824b3 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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; }