[git commit] mdev: fix build failure

Denys Vlasenko vda.linux at googlemail.com
Sun Mar 17 22:01:17 UTC 2013


commit: http://git.busybox.net/busybox/commit/?id=4424dfd69bc4edfe514b17b7006f8855892a338b
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

The error was "error: 'struct globals' has no member named 'parser'"

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 util-linux/mdev.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index c5c0d61..5fe6bbb 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -646,9 +646,8 @@ static void make_device(char *device_name, char *path, int operation)
 		}
 		/* else: it's final implicit "match-all" rule */
  rule_matches:
-#endif
 		dbg2("rule matched, line %d", G.parser ? G.parser->lineno : -1);
-
+#endif
 		/* Build alias name */
 		alias = NULL;
 		if (ENABLE_FEATURE_MDEV_RENAME && rule->ren_mov) {


More information about the busybox-cvs mailing list