summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bsdinstall/partedit/partedit_x86.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/partedit/partedit_x86.c b/usr.sbin/bsdinstall/partedit/partedit_x86.c
index 8bd4027b..cc6a571 100644
--- a/usr.sbin/bsdinstall/partedit/partedit_x86.c
+++ b/usr.sbin/bsdinstall/partedit/partedit_x86.c
@@ -49,7 +49,8 @@ x86_bootmethod(void)
}
const char *
-default_scheme(void) {
+default_scheme(void)
+{
return ("GPT");
}
@@ -77,6 +78,7 @@ is_fs_bootable(const char *part_type, const char *fs)
return (1);
if (strcmp(fs, "freebsd-zfs") == 0 &&
+ strcmp(part_type, "GPT") == 0 &&
strcmp(x86_bootmethod(), "BIOS") == 0)
return (1);
OpenPOWER on IntegriCloud