Skip to content

Commit

Permalink
outmacho: Fix missing brace
Browse files Browse the repository at this point in the history
Fix a missing brace introduced in checkin
84f6860. This was a transcription
error of mine; Zenith432's original patch was correct.

Cc: Zenith432 <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
  • Loading branch information
H. Peter Anvin committed May 9, 2016
1 parent 3c27bdc commit 3d72e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output/outmacho.c
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ static void macho_write_section (void)
l += sectstab[r->snum]->addr;
if (r->pcrel)
l -= s->addr;
} else if (r->pcrel && r->type == GENERIC_RELOC_VANILLA)
} else if (r->pcrel && r->type == GENERIC_RELOC_VANILLA) {
l -= s->addr;
}

Expand Down

0 comments on commit 3d72e45

Please sign in to comment.