svn commit: r227231 - head/sbin/bsdlabel

Andrey V. Elsukov ae at FreeBSD.org
Sun Nov 6 17:30:32 UTC 2011


Author: ae
Date: Sun Nov  6 17:30:32 2011
New Revision: 227231
URL: http://svn.freebsd.org/changeset/base/227231

Log:
  To be in sync with GEOM_PART_BSD limit the maximum number of supported
  partitions to 20.
  
  MFC after:	1 week

Modified:
  head/sbin/bsdlabel/bsdlabel.c

Modified: head/sbin/bsdlabel/bsdlabel.c
==============================================================================
--- head/sbin/bsdlabel/bsdlabel.c	Sun Nov  6 17:25:22 2011	(r227230)
+++ head/sbin/bsdlabel/bsdlabel.c	Sun Nov  6 17:30:32 2011	(r227231)
@@ -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>


More information about the svn-src-all mailing list