aboutsummaryrefslogtreecommitdiff
path: root/mbrpart.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mbrpart.cc')
-rw-r--r--mbrpart.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbrpart.cc b/mbrpart.cc
index e9240a1..0ca5814 100644
--- a/mbrpart.cc
+++ b/mbrpart.cc
@@ -319,7 +319,7 @@ void MBRPart::ReverseByteOrder(void) {
void MBRPart::ShowData(int isGpt) {
char bootCode = ' ';
- if (status && 0x80) // it's bootable
+ if (status & 0x80) // it's bootable
bootCode = '*';
cout.fill(' ');
cout << bootCode << " ";