summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-05-21 23:45:49 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-05-21 23:45:49 +0000
commitae8a031e28803ad11c91125bd1523348d0f9aba7 (patch)
treebdb340ca3ea84c5ced44c0a90436c136a706dcf3 /sys/arch/luna88k
parenta8bf30cd22bf1b839f7e9bffcd664791d8b3b2ae (diff)
The only value that d_npartitions should have is MAXPARTITIONS.
Diffstat (limited to 'sys/arch/luna88k')
-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 7b2f004ff7a..f7b4647c345 100644
--- a/sys/arch/luna88k/luna88k/disksubr.c
+++ b/sys/arch/luna88k/luna88k/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.39 2009/05/13 01:31:58 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.40 2009/05/21 23:45:48 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.12 2002/02/19 17:09:44 wiz Exp $ */
/*
@@ -274,7 +274,7 @@ disklabel_om_to_bsd(struct sun_disklabel *sl, struct disklabel *lp)
secpercyl = 1;
}
- lp->d_npartitions = 8;
+ lp->d_npartitions = MAXPARTITIONS;
/* These are as defined in <ufs/ffs/fs.h> */
lp->d_bbsize = 8192; /* XXX */
lp->d_sbsize = 8192; /* XXX */