small fixes:
fix xstrdup to not grossly overallocate memory
use xopen instean of xopen3 in several places
etc.
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index c03dd61..957316d 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -73,7 +73,7 @@
 
 			line++;
 			/* find end of this line */
-			for(end=pos; end-conf<len && *end!='\n'; end++)
+			for (end=pos; end-conf<len && *end!='\n'; end++)
 				;
 
 			/* Three fields: regex, uid:gid, mode */
@@ -111,7 +111,7 @@
 					char *s, *s2;
 
 					/* Find : */
-					for(s=pos; s<end2 && *s!=':'; s++)
+					for (s=pos; s<end2 && *s!=':'; s++)
 						;
 					if (s == end2) break;