summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2013-03-17 23:01:17 +0100
committerDenys Vlasenko2013-03-17 23:01:17 +0100
commit4424dfd69bc4edfe514b17b7006f8855892a338b (patch)
treec0e749dab0fc8476d17a5c2681f6f86059a99b2b
parentc56d12505bc372969a3ec15c74f79ebf5cc09c86 (diff)
downloadbusybox-4424dfd69bc4edfe514b17b7006f8855892a338b.zip
busybox-4424dfd69bc4edfe514b17b7006f8855892a338b.tar.gz
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 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) {