summaryrefslogtreecommitdiff
path: root/usr/src/cmd/boot/mbr/mbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/boot/mbr/mbr.c')
-rw-r--r--usr/src/cmd/boot/mbr/mbr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/boot/mbr/mbr.c b/usr/src/cmd/boot/mbr/mbr.c
index 44dd3bf282..e4978d224d 100644
--- a/usr/src/cmd/boot/mbr/mbr.c
+++ b/usr/src/cmd/boot/mbr/mbr.c
@@ -116,11 +116,12 @@ main(int argc, char *argv[])
mboot = (struct mboot *)boot_sect;
for (i = 0; i < FD_NUMPART; i++) {
struct ipart *part = (struct ipart *)mboot->parts + i;
- if (!list_hd)
+ if (!list_hd) {
if (part->bootid == 128)
printf("active ");
else
printf(" ");
+ }
if (setnew && part->systid == 0x82) {
part->systid = 0xbf;
sol_part = i;