aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-12 15:27:17 +0000
committerMike Frysinger <vapier@gentoo.org>2008-02-12 15:27:17 +0000
commit0b18cd3d04b17acec73af3d2cafd00c59a3f807f (patch)
treeb31f89a661fb846a65d596155e1a6e968ac1f063
parentaeb725e185c4d4c36200d39dcdb4101e0a00d6b0 (diff)
downloadbusybox-w32-0b18cd3d04b17acec73af3d2cafd00c59a3f807f.tar.gz
busybox-w32-0b18cd3d04b17acec73af3d2cafd00c59a3f807f.tar.bz2
busybox-w32-0b18cd3d04b17acec73af3d2cafd00c59a3f807f.zip
merge fix for blank lines from trunk
-rw-r--r--util-linux/mdev.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index 84d5e1c0e..65b4da4f4 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -78,8 +78,12 @@ static void make_device(char *path, int delete)
78 val = strtok(vline, " \t"); 78 val = strtok(vline, " \t");
79 vline = NULL; 79 vline = NULL;
80 } while (val && !*val); 80 } while (val && !*val);
81 if (!val) 81 if (!val) {
82 break; 82 if (field)
83 break;
84 else
85 goto next_line;
86 }
83 87
84 if (field == 0) { 88 if (field == 0) {
85 89