summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2011-11-06 17:30:32 +0000
committerae <ae@FreeBSD.org>2011-11-06 17:30:32 +0000
commit8fdc44b4598afdb5f444d4e5da3dedc3c347a37f (patch)
tree057cbe0a835769f223625279bfc9825dd27ef2a9 /sbin/bsdlabel
parenta3202a01adb6ca5aabdffb54ea157857029043e8 (diff)
downloadFreeBSD-src-8fdc44b4598afdb5f444d4e5da3dedc3c347a37f.zip
FreeBSD-src-8fdc44b4598afdb5f444d4e5da3dedc3c347a37f.tar.gz
To be in sync with GEOM_PART_BSD limit the maximum number of supported
partitions to 20. MFC after: 1 week
Diffstat (limited to 'sbin/bsdlabel')
-rw-r--r--sbin/bsdlabel/bsdlabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c
index fbd978a..83d5a4c 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -63,7 +63,7 @@ __FBSDID("$FreeBSD$");
#include <sys/disk.h>
#define DKTYPENAMES
#define FSTYPENAMES
-#define MAXPARTITIONS 26
+#define MAXPARTITIONS 20
#include <sys/disklabel.h>
#include <unistd.h>
OpenPOWER on IntegriCloud