aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-03-17 23:01:17 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-03-17 23:01:17 +0100
commit4424dfd69bc4edfe514b17b7006f8855892a338b (patch)
treec0e749dab0fc8476d17a5c2681f6f86059a99b2b
parentc56d12505bc372969a3ec15c74f79ebf5cc09c86 (diff)
downloadbusybox-w32-4424dfd69bc4edfe514b17b7006f8855892a338b.tar.gz
busybox-w32-4424dfd69bc4edfe514b17b7006f8855892a338b.tar.bz2
busybox-w32-4424dfd69bc4edfe514b17b7006f8855892a338b.zip
mdev: fix build failure
The error was "error: 'struct globals' has no member named 'parser'" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--util-linux/mdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index c5c0d613c..5fe6bbbde 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)
646 } 646 }
647 /* else: it's final implicit "match-all" rule */ 647 /* else: it's final implicit "match-all" rule */
648 rule_matches: 648 rule_matches:
649#endif
650 dbg2("rule matched, line %d", G.parser ? G.parser->lineno : -1); 649 dbg2("rule matched, line %d", G.parser ? G.parser->lineno : -1);
651 650#endif
652 /* Build alias name */ 651 /* Build alias name */
653 alias = NULL; 652 alias = NULL;
654 if (ENABLE_FEATURE_MDEV_RENAME && rule->ren_mov) { 653 if (ENABLE_FEATURE_MDEV_RENAME && rule->ren_mov) {