Skip to content

Commit

Permalink
Fixed a bug introduced in 258b481.
Browse files Browse the repository at this point in the history
  • Loading branch information
cahirwpz committed Oct 16, 2016
1 parent c2cfcf3 commit 6c305f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bfd/amigaos.c
Expand Up @@ -720,7 +720,7 @@ amiga_read_load (bfd * abfd)
return false;

/* If there are resident libs: abort (obsolete feature) */
if (!buf[0])
if (buf[0])
return false;

max_hunk_number = buf[1];
Expand All @@ -734,7 +734,7 @@ amiga_read_load (bfd * abfd)
amiga_data->nb_hunks = max_hunk_number;

/* Num of root hunk must be 0 */
if (!buf[2])
if (buf[2])
{
bfd_set_error (bfd_error_wrong_format);
return false;
Expand Down

0 comments on commit 6c305f7

Please sign in to comment.