summaryrefslogtreecommitdiff
path: root/package/busybox/busybox.mdev-just-read-9-bytes.patch
blob: 5742fd597dac43be36f8bbe74e9d40c1179fb5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
 	}