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:
Andrey V. Elsukov 2011-11-06 17:30:32 +00:00
parent ac75fa8849
commit 1fd45acda6

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>