installer: Fix typo which caused to always use GPT.

This commit is contained in:
Michael Tremer
2014-07-28 00:26:46 +02:00
parent 3f1c7eeb18
commit 5689fc7202

View File

@@ -379,7 +379,7 @@ static int hw_calculate_partition_table(struct hw_destination* dest) {
// When using GPT, GRUB2 needs a little bit of space to put
// itself in.
if (dest->part_table = HW_PART_TABLE_GPT) {
if (dest->part_table == HW_PART_TABLE_GPT) {
snprintf(dest->part_bootldr, sizeof(dest->part_bootldr),
"%s%d", path, part_idx);