summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.9.0-mdev.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-02-14 14:45:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-02-14 14:45:23 +0000
commit7c44a53354bfd602c4e88523a849b5507c66c0d0 (patch)
tree5ef0890a489ce25a6a997992a87f54203a278acf /package/busybox/busybox-1.9.0-mdev.patch
parent72a85109f304290b7fe90febeab82b37ef9fc669 (diff)
busybox: additional 1.9.0 patches
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) {
+