diff options
| author | Toomas Soome <tsoome@me.com> | 2017-03-28 23:29:23 +0300 |
|---|---|---|
| committer | Gordon Ross <gwr@nexenta.com> | 2017-03-31 13:12:37 -0400 |
| commit | 79737ba6df43e576bfa42fe5129af2990377e760 (patch) | |
| tree | 92edbf7bd16450b87ad24ab8bbaeb22812d17f65 | |
| parent | d33da75dca1b7a9099274b822ffb7cf3445ba98c (diff) | |
| download | illumos-joyent-79737ba6df43e576bfa42fe5129af2990377e760.tar.gz | |
8008 loader: Wrap bootcamp DEBUG statement with curly braces
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
| -rw-r--r-- | usr/src/boot/sys/boot/common/part.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/boot/sys/boot/common/part.c b/usr/src/boot/sys/boot/common/part.c index 5f79473b0c..7dd81ddb2d 100644 --- a/usr/src/boot/sys/boot/common/part.c +++ b/usr/src/boot/sys/boot/common/part.c @@ -798,8 +798,9 @@ ptable_open(void *dev, uint64_t sectors, uint16_t sectorsize, diskread_t *dread) 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) { |
