From 72812fcdca6d1fae47811764e0897de97e6093b9 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 13 May 2013 15:40:31 +0000 Subject: [PATCH] fix lossage from disklabel.h merge --- sys/arch/hpc/hpc/disksubr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/hpc/hpc/disksubr.c b/sys/arch/hpc/hpc/disksubr.c index 315b7c6e5d73..bf220750236f 100644 --- a/sys/arch/hpc/hpc/disksubr.c +++ b/sys/arch/hpc/hpc/disksubr.c @@ -1,4 +1,4 @@ -/* $NetBSD: disksubr.c,v 1.20 2008/01/02 11:48:25 ad Exp $ */ +/* $NetBSD: disksubr.c,v 1.21 2013/05/13 15:40:31 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1988 Regents of the University of California. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.20 2008/01/02 11:48:25 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.21 2013/05/13 15:40:31 christos Exp $"); #include #include @@ -165,7 +165,7 @@ readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, cyl = LABELSECTOR / lp->d_secpercyl; if (!osdep) goto nombrpart; - dp = osdep->dosparts; + dp = osdep->mbrparts; /* read master boot record */ bp->b_blkno = MBR_BBSECTOR; @@ -386,7 +386,7 @@ writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, cyl = LABELSECTOR / lp->d_secpercyl; if (!osdep) goto nombrpart; - dp = osdep->dosparts; + dp = osdep->mbrparts; /* read master boot record */ bp->b_blkno = MBR_BBSECTOR;