projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge fix for blank lines from trunk
[oweals/busybox.git]
/
util-linux
/
mdev.c
diff --git
a/util-linux/mdev.c
b/util-linux/mdev.c
index 84d5e1c0ed34b5092455a6ae8e468e9991f16f9c..65b4da4f48e07359304bcefa9e4515372e23fd72 100644
(file)
--- a/
util-linux/mdev.c
+++ b/
util-linux/mdev.c
@@
-78,8
+78,12
@@
static void make_device(char *path, int delete)
val = strtok(vline, " \t");
vline = NULL;
} while (val && !*val);
- if (!val)
- break;
+ if (!val) {
+ if (field)
+ break;
+ else
+ goto next_line;
+ }
if (field == 0) {