summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.9.0-mdev.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.9.0-mdev.patch')
-rw-r--r--package/busybox/busybox-1.9.0-mdev.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.9.0-mdev.patch b/package/busybox/busybox-1.9.0-mdev.patch
new file mode 100644
index 000000000..1ac81eb0b
--- /dev/null
+++ b/package/busybox/busybox-1.9.0-mdev.patch
@@ -0,0 +1,17 @@
+--- busybox-1.9.0/util-linux/mdev.c Fri Dec 21 23:16:45 2007
++++ busybox-1.9.0-mdev/util-linux/mdev.c Tue Feb 12 16:57:00 2008
+@@ -78,8 +78,12 @@
+ val = strtok(vline, " \t");
+ vline = NULL;
+ } while (val && !*val);
+- if (!val)
+- break;
++ if (!val) {
++ if (field)
++ break;
++ else
++ goto next_line;
++ }
+
+ if (field == 0) {
+