summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r--sys/arch/hppa64/hppa64/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa64/hppa64/disksubr.c b/sys/arch/hppa64/hppa64/disksubr.c
index 4306a07ea5e..f5ca8500280 100644
--- a/sys/arch/hppa64/hppa64/disksubr.c
+++ b/sys/arch/hppa64/hppa64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.11 2006/07/09 21:06:39 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.12 2006/08/11 21:32:40 krw Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -157,7 +157,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly)
lp->d_partitions[i].p_offset = 0;
}
if (lp->d_partitions[i].p_size == 0)
- lp->d_partitions[i].p_size = 0x1fffffff;
+ lp->d_partitions[i].p_size = lp->d_secperunit;
lp->d_partitions[i].p_offset = 0;
minilabel = fallbacklabel = *lp;