summaryrefslogtreecommitdiff
path: root/mbr.cc
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-03-21 19:05:49 -0400
committersrs5694 <srs5694@users.sourceforge.net>2010-03-21 19:05:49 -0400
commit8a4ddfc919d5569c68489cf53d9cf5abc94c410c (patch)
tree7ed961f3d10386b896570c185ec3b21d3b4a53ab /mbr.cc
parenta8582cfe6c1aa5e5f80458ac72d881a04ae0ba44 (diff)
downloadsgdisk-8a4ddfc919d5569c68489cf53d9cf5abc94c410c.tar.gz
Bring git up to 0.6.6 release version.
Diffstat (limited to 'mbr.cc')
-rw-r--r--mbr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr.cc b/mbr.cc
index 249fc27..0b29bbb 100644
--- a/mbr.cc
+++ b/mbr.cc
@@ -588,7 +588,7 @@ void MBRData::MakeProtectiveMBR(int clearBoot) {
// Initialize variables
nulls = 0;
MBRSignature = MBR_SIGNATURE;
- diskSignature = (uint32_t) rand();
+ diskSignature = UINT32_C(0);
partitions[0].status = UINT8_C(0); // Flag the protective part. as unbootable