aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-07-20 00:48:04 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-07-20 00:48:04 +0000
commitea3e540ac75ef4adc55b7af2f2ae3db5787c6e0c (patch)
treefb4b4b927d082f3b381f11b722c50bcd412300d8 /sys/boot
parent5442261af29a9347c90e4ebdb54b26fc91e11ede (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/part.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/common/part.c b/sys/boot/common/part.c
index 5e9217e309c8..1955c394faf6 100644
--- a/sys/boot/common/part.c
+++ b/sys/boot/common/part.c
@@ -660,8 +660,9 @@ ptable_open(void *dev, off_t sectors, uint16_t sectorsize,
if (dp[1].dp_typ != DOSPTYP_HFS) {
table->type = PTABLE_NONE;
DEBUG("Incorrect PMBR, ignore it");
- } else
+ } else {
DEBUG("Bootcamp detected");
+ }
}
#ifdef LOADER_GPT_SUPPORT
if (table->type == PTABLE_GPT) {