Index: uspace/lib/c/include/types/label.h
===================================================================
--- uspace/lib/c/include/types/label.h	(revision 0cebbac36c3b5bdabdffa3fea169ef0de623e2ef)
+++ uspace/lib/c/include/types/label.h	(revision fe8961db047fff7f6f3e5cb6cd8dd148c78821e6)
@@ -124,4 +124,6 @@
 } label_pcnt_t;
 
+#define LPC_LIMIT (lpc_minix + 1)
+
 #endif
 
Index: uspace/lib/fdisk/src/fdisk.c
===================================================================
--- uspace/lib/fdisk/src/fdisk.c	(revision 0cebbac36c3b5bdabdffa3fea169ef0de623e2ef)
+++ uspace/lib/fdisk/src/fdisk.c	(revision fe8961db047fff7f6f3e5cb6cd8dd148c78821e6)
@@ -1015,4 +1015,6 @@
 	max_blocks = fdisk_ba_align_up(dev, max_blocks);
 
+	pcnt = LPC_LIMIT;
+
 	switch (pspec->fstype) {
 	case fs_exfat:
@@ -1030,7 +1032,8 @@
 	case fs_cdfs:
 		return EINVAL; /* You cannot create an ISO partition */
-	default:
+	}
+
+	if (pcnt == LPC_LIMIT)
 		return EINVAL;
-	}
 
 	if (pspec->pkind == lpk_logical) {
