commit | 1eea9b0b51367472ce12efb59b0018c0ac96a463 | [log] [tgz] |
---|---|---|
author | Roderick W. Smith <rodsmith@rodsbooks.com> | Sat Jul 06 22:52:58 2013 -0400 |
committer | Roderick W. Smith <rodsmith@rodsbooks.com> | Sat Jul 06 22:52:58 2013 -0400 |
tree | 88c2eacf1fbcb909a24b60fab44151ea137d5965 | |
parent | f5dfbfa418675ca862408e4fb2240b21dd07d558 [diff] [blame] |
New partition type codes & "-a" option for cgdisk
diff --git a/mbrpart.cc b/mbrpart.cc index e9240a1..0ca5814 100644 --- a/mbrpart.cc +++ b/mbrpart.cc
@@ -319,7 +319,7 @@ void MBRPart::ShowData(int isGpt) { char bootCode = ' '; - if (status && 0x80) // it's bootable + if (status & 0x80) // it's bootable bootCode = '*'; cout.fill(' '); cout << bootCode << " ";