aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2011-11-06 17:30:32 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2011-11-06 17:30:32 +0000
commit1fd45acda6c87afbcfaa86e836a940aebbc54c36 (patch)
tree057cbe0a835769f223625279bfc9825dd27ef2a9 /sbin/bsdlabel
parentac75fa88490c5282247e2ab7e2e6e7a03f9657c8 (diff)
downloadsrc-1fd45acda6c87afbcfaa86e836a940aebbc54c36.tar.gz
src-1fd45acda6c87afbcfaa86e836a940aebbc54c36.zip
To be in sync with GEOM_PART_BSD limit the maximum number of supported
partitions to 20. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=227231
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 fbd978a1fa82..83d5a4ce07d0 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>