From: Mike Frysinger Date: Tue, 12 Feb 2008 15:27:17 +0000 (-0000) Subject: merge fix for blank lines from trunk X-Git-Tag: 1_9_1~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0b18cd3d04b17acec73af3d2cafd00c59a3f807f;p=oweals%2Fbusybox.git merge fix for blank lines from trunk --- 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) val = strtok(vline, " \t"); vline = NULL; } while (val && !*val); - if (!val) - break; + if (!val) { + if (field) + break; + else + goto next_line; + } if (field == 0) {