summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-06-11 14:08:37 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-06-11 14:08:37 +0000
commit4e80196bf3b7c7410a4e00034a07ac8a56991cf7 (patch)
treeaf68249f919795def31ac62959aa91a97fcf111a /sys/arch
parent973dea1f2e92cac0a5b97b5eca9ad9899bd2a006 (diff)
Zero the size of the correct partition. Missed in previous cleanup.
ok miod@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/luna88k/luna88k/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/luna88k/luna88k/disksubr.c b/sys/arch/luna88k/luna88k/disksubr.c
index 127006135f1..7b2ef73d847 100644
--- a/sys/arch/luna88k/luna88k/disksubr.c
+++ b/sys/arch/luna88k/luna88k/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.7 2006/03/15 20:20:39 miod Exp $ */
+/* $OpenBSD: disksubr.c,v 1.8 2006/06/11 14:08:36 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.12 2002/02/19 17:09:44 wiz Exp $ */
/*
@@ -137,7 +137,7 @@ readdisklabel(dev, strat, lp, clp, spoofonly)
}
if (lp->d_partitions[i].p_size == 0)
lp->d_partitions[i].p_size = lp->d_secperunit;
- lp->d_partitions[0].p_offset = 0;
+ lp->d_partitions[i].p_offset = 0;
/* don't read the on-disk label if we are in spoofed-only mode */
if (spoofonly)