- just reading the first 9 bytes for the maj:min ought to be enough (TM)

This commit is contained in:
Bernhard Reutner-Fischer 2007-02-16 15:19:49 +00:00
parent df0d821460
commit 6fadee86df
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: busybox/util-linux/mdev.c
===================================================================
--- busybox/util-linux/mdev.c (revision 17891)
+++ busybox/util-linux/mdev.c (working copy)
@@ -39,7 +39,7 @@
if (!delete) {
strcat(path, "/dev");
- len = open_read_close(path, temp + 1, 64);
+ len = open_read_close(path, temp + 1, 9);
*temp++ = 0;
if (len < 1) return;
}