From 1fd45acda6c87afbcfaa86e836a940aebbc54c36 Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Sun, 6 Nov 2011 17:30:32 +0000 Subject: [PATCH] To be in sync with GEOM_PART_BSD limit the maximum number of supported partitions to 20. MFC after: 1 week --- sbin/bsdlabel/bsdlabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c index fbd978a1fa8..83d5a4ce07d 100644 --- a/sbin/bsdlabel/bsdlabel.c +++ b/sbin/bsdlabel/bsdlabel.c @@ -63,7 +63,7 @@ __FBSDID("$FreeBSD$"); #include #define DKTYPENAMES #define FSTYPENAMES -#define MAXPARTITIONS 26 +#define MAXPARTITIONS 20 #include #include