diff options
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/stand/libsa/softraid.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/softraid.c b/sys/arch/i386/stand/libsa/softraid.c index 79fe62d143d..22e861b815c 100644 --- a/sys/arch/i386/stand/libsa/softraid.c +++ b/sys/arch/i386/stand/libsa/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.15 2015/10/28 13:33:42 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.16 2016/01/07 00:56:46 krw Exp $ */ /* * Copyright (c) 2012 Joel Sing <jsing@openbsd.org> @@ -413,8 +413,10 @@ sr_getdisklabel(struct sr_boot_volume *bv, struct disklabel *label) dp = &mbr.dmbr_parts[i]; if (!dp->dp_size) continue; - if (dp->dp_typ == DOSPTYP_OPENBSD) + if (dp->dp_typ == DOSPTYP_OPENBSD) { start = dp->dp_start; + break; + } } } |