summaryrefslogtreecommitdiff
path: root/sgdisk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sgdisk.cc')
-rw-r--r--sgdisk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sgdisk.cc b/sgdisk.cc
index b0959a5..fc56202 100644
--- a/sgdisk.cc
+++ b/sgdisk.cc
@@ -439,7 +439,7 @@ int BuildMBR(GPTData & theGPT, char* argument, int isHybrid) {
// newNote firstLBA and lastLBA are computed later...
notes.AddToStart(newNote);
} // if
- if (theGPT.PartsToMBR(notes) != numParts)
+ if (theGPT.PartsToMBR(&notes) != numParts)
allOK = 0;
} else allOK = 0;
} else allOK = 0;