diff options
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/disksubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/disksubr.c b/sys/arch/sparc64/sparc64/disksubr.c index 2442f8e71d1..983e0a4dded 100644 --- a/sys/arch/sparc64/sparc64/disksubr.c +++ b/sys/arch/sparc64/sparc64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.14 2005/09/21 21:08:35 miod Exp $ */ +/* $OpenBSD: disksubr.c,v 1.15 2005/12/22 02:51:25 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.13 2000/12/17 22:39:18 pk Exp $ */ /* @@ -102,7 +102,7 @@ readdisklabel(dev, strat, lp, clp, spoofonly) } if (lp->d_partitions[i].p_size == 0) lp->d_partitions[i].p_size = 0x1fffffff; - lp->d_partitions[0].p_offset = 0; + lp->d_partitions[i].p_offset = 0; lp->d_bbsize = 8192; lp->d_sbsize = 64*1024; /* XXX ? */ |