From a4f0ae90430fdca70cc8343ee3274d927ec2f6b6 Mon Sep 17 00:00:00 2001 From: tsubai Date: Sun, 31 Jan 1999 13:54:24 +0000 Subject: [PATCH] Adapt disklabel_mbr.h change. --- sys/arch/macppc/macppc/disksubr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/macppc/macppc/disksubr.c b/sys/arch/macppc/macppc/disksubr.c index 2456a864dcb4..decb9a2ec354 100644 --- a/sys/arch/macppc/macppc/disksubr.c +++ b/sys/arch/macppc/macppc/disksubr.c @@ -1,4 +1,4 @@ -/* $NetBSD: disksubr.c,v 1.3 1999/01/27 21:30:08 thorpej Exp $ */ +/* $NetBSD: disksubr.c,v 1.4 1999/01/31 13:54:24 tsubai Exp $ */ /* * Copyright (C) 1996 Wolfgang Solfrank. @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include @@ -167,7 +168,7 @@ mbr_to_label(dev, strat, bno, lp, pnpart, osdep, off) mp = (struct mbr_partition *)(bp->b_data + MBR_PARTOFF); for (i = 0; i < NMBRPART; i++, mp++) { if (get_long(&mp->mbrp_size)) { - switch (mp->mbrp_type) { + switch (mp->mbrp_typ) { case MBR_PTYPE_EXT: if (*pnpart < MAXPARTITIONS) { pp = lp->d_partitions + *pnpart;