summaryrefslogtreecommitdiff
path: root/sys/arch/armish
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/armish
parenta8bf30cd22bf1b839f7e9bffcd664791d8b3b2ae (diff)
The only value that d_npartitions should have is MAXPARTITIONS.
Diffstat (limited to 'sys/arch/armish')
-rw-r--r--sys/arch/armish/stand/boot/wd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armish/stand/boot/wd.c b/sys/arch/armish/stand/boot/wd.c
index 22adab63d8e..a0f144645a2 100644
--- a/sys/arch/armish/stand/boot/wd.c
+++ b/sys/arch/armish/stand/boot/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.6 2008/06/26 05:42:10 ray Exp $ */
+/* $OpenBSD: wd.c,v 1.7 2009/05/21 23:45:48 krw Exp $ */
/* $NetBSD: wd.c,v 1.5 2005/12/11 12:17:06 christos Exp $ */
/*-
@@ -138,7 +138,7 @@ wdgetdefaultlabel(wd, lp)
lp->d_partitions[RAW_PART].p_offset = 0;
lp->d_partitions[RAW_PART].p_size = lp->d_secperunit;
lp->d_partitions[RAW_PART].p_fstype = FS_UNUSED;
- lp->d_npartitions = MAXPARTITIONS; /* RAW_PART + 1 ??? */
+ lp->d_npartitions = MAXPARTITIONS;
lp->d_magic = DISKMAGIC;
lp->d_magic2 = DISKMAGIC;