diff options
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/objdump.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b9e125f..611fc9b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2019-06-25 Jan Beulich <jbeulich@suse.com> + + * objdump.c (dump_ctf_indent_lines): Rename local variable + "spaces" to "blanks". + 2019-06-14 Alan Modra <amodra@gmail.com> * Makefile.in: Regenerate. diff --git a/binutils/objdump.c b/binutils/objdump.c index d9c8cea..7a4e7e4 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -3207,10 +3207,10 @@ 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; } |