From bbb35bfde211e554d09e7ecf9d71b474ee575180 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 24 Jan 2002 04:40:04 +0000 Subject: allow reinitializing mbr in the ext parts; from Matt Watson --- sbin/fdisk/cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/fdisk/cmd.c') diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c index 0cf4afb57a6..d43209b2224 100644 --- a/sbin/fdisk/cmd.c +++ b/sbin/fdisk/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.30 2002/01/18 08:38:26 kjell Exp $ */ +/* $OpenBSD: cmd.c,v 1.31 2002/01/24 04:40:03 mickey Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -57,7 +57,7 @@ Xreinit(cmd, disk, mbr, tt, offset) /* Copy template MBR */ MBR_make(tt, buf); - MBR_parse(disk, buf, 0, 0, mbr); + MBR_parse(disk, buf, mbr->offset, mbr->reloffset, mbr); MBR_init(disk, mbr); -- cgit v1.2.3