To be in sync with GEOM_PART_BSD limit the maximum number of supported

partitions to 20.

MFC after:	1 week
This commit is contained in:
ae 2011-11-06 17:30:32 +00:00
parent a3202a01ad
commit 8fdc44b459

View File

@ -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>