diff options
author | Alan Modra <amodra@bigpond.net.au> | 2013-01-17 02:24:47 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2013-01-17 02:24:47 +0000 |
commit | 8647559613284e5333b0182d2b86489f4efb5dd9 (patch) | |
tree | 64ade7215186bbca4382ad670c3935dcfe201f51 /binutils/objdump.c | |
parent | 2991cb3aa24eb4e3dd78a449c51b301dea6cef10 (diff) | |
download | binutils-redhat-8647559613284e5333b0182d2b86489f4efb5dd9.tar.gz |
* objdump.c (dump_target_specific): Fix NULL pointer test.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r-- | binutils/objdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c index 9164d83f70..394a647b3a 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -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; |