File cmdline_large_minor.diff of Package lvm2

--- tools/lvmcmdline.c
+++ tools/lvmcmdline.c	2008/02/20 10:45:12
@@ -265,8 +265,8 @@
 	if (!_get_int_arg(a, &ptr) || (*ptr) || (a->sign == SIGN_MINUS))
 		return 0;
 
-	if (a->i_value > 255) {
-		log_error("Minor number outside range 0-255");
+	if (a->i_value > 1048575) {
+		log_error("Minor number outside range 0-1048575");
 		return 0;
 	}
openSUSE Build Service is sponsored by