SVN: geninitrd/trunk/geninitrd

arekm arekm at pld-linux.org
Thu Feb 16 10:58:17 CET 2012


Author: arekm
Date: Thu Feb 16 10:58:16 2012
New Revision: 12475

Modified:
   geninitrd/trunk/geninitrd
Log:
Exact match for partition/major/minor.

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Thu Feb 16 10:58:16 2012
@@ -792,8 +792,8 @@
 				if (c ~ "^" dev_pattern "$") partition = c;
 			}
 
-			$4 ~ partition { maj = $1; min = $2; }
-			$1 ~ maj && $2 ~ min { partition = $4; }
+			$4 == partition { maj = $1; min = $2; }
+			$1 == maj && $2 == min { partition = $4; }
 
 			END {
 				if (maj >= 0 && min >= 0) {


More information about the pld-cvs-commit mailing list