From: krw Date: Wed, 10 Nov 2021 13:01:08 +0000 (+0000) Subject: Set correct prt_flag to 0. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=68b3454c8e08b3a407a0051a0f2ecaeb822c5faa;p=openbsd Set correct prt_flag to 0. --- diff --git a/sbin/fdisk/mbr.c b/sbin/fdisk/mbr.c index 8b6570fd6bc..c04a7c91188 100644 --- a/sbin/fdisk/mbr.c +++ b/sbin/fdisk/mbr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbr.c,v 1.105 2021/11/09 14:02:09 krw Exp $ */ +/* $OpenBSD: mbr.c,v 1.106 2021/11/10 13:01:08 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -90,7 +90,7 @@ MBR_init(struct mbr *mbr) #if defined(__powerpc__) || defined(__mips__) /* Now fix up for the MS-DOS boot partition on PowerPC/MIPS. */ bootprt.prt_flag = DOSACTIVE; /* Boot from dos part */ - bootprt.prt_flag = 0; + obsdprt.prt_flag = 0; obsdprt.prt_ns += obsdprt.prt_bs; obsdprt.prt_bs = bootprt.prt_bs + bootprt.prt_ns; obsdprt.prt_ns -= obsdprt.prt_bs;