Most of these changes are really only cosmetic. The readelf.c patch

fixes a thinko in get_dynamic_flags.  I found at least one message
string that included a `%' being passed to printf in the format
argument.
This commit is contained in:
Alan Modra
2000-01-26 23:11:48 +00:00
parent 4c63da97a7
commit 305c72062b
11 changed files with 56 additions and 19 deletions

View File

@@ -69,7 +69,7 @@ DEFUN (print_name_only, (self), Sym * self)
}
}
sprintf (buf, " (%s:%d)", filename, self->line_num);
printf (buf);
printf ("%s", buf);
size += strlen (buf);
}
if (demangled)