Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpc/hpc fix lossage from disklabel.h merge
details: https://anonhg.NetBSD.org/src/rev/4ef22d7593e3
branches: trunk
changeset: 786813:4ef22d7593e3
user: christos <christos%NetBSD.org@localhost>
date: Mon May 13 15:40:31 2013 +0000
description:
fix lossage from disklabel.h merge
diffstat:
sys/arch/hpc/hpc/disksubr.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 6f25a28a8ab4 -r 4ef22d7593e3 sys/arch/hpc/hpc/disksubr.c
--- a/sys/arch/hpc/hpc/disksubr.c Mon May 13 13:59:39 2013 +0000
+++ b/sys/arch/hpc/hpc/disksubr.c Mon May 13 15:40:31 2013 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -165,7 +165,7 @@
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 @@
cyl = LABELSECTOR / lp->d_secpercyl;
if (!osdep)
goto nombrpart;
- dp = osdep->dosparts;
+ dp = osdep->mbrparts;
/* read master boot record */
bp->b_blkno = MBR_BBSECTOR;
Home |
Main Index |
Thread Index |
Old Index