busybox.mdev-just-read-9-bytes.patch 390 B

12345678910111213
  1. Index: busybox/util-linux/mdev.c
  2. ===================================================================
  3. --- busybox/util-linux/mdev.c (revision 17891)
  4. +++ busybox/util-linux/mdev.c (working copy)
  5. @@ -39,7 +39,7 @@
  6. if (!delete) {
  7. strcat(path, "/dev");
  8. - len = open_read_close(path, temp + 1, 64);
  9. + len = open_read_close(path, temp + 1, 9);
  10. *temp++ = 0;
  11. if (len < 1) return;
  12. }