* objdump.c (dump_target_specific): Fix NULL pointer test.

This commit is contained in:
Alan Modra 2013-01-17 02:24:47 +00:00
parent a880d4c4d4
commit c32d6f7bd4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
* objdump.c (dump_target_specific): Fix NULL pointer test.
2013-01-16 Alan Modra <amodra@gmail.com>
PR binutils/15018

View File

@ -2651,7 +2651,7 @@ dump_target_specific (bfd *abfd)
if ((*desc)->filter (abfd))
break;
if (desc == NULL)
if (*desc == NULL)
{
non_fatal (_("option -P/--private not supported by this file"));
return;