From 4424dfd69bc4edfe514b17b7006f8855892a338b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 17 Mar 2013 23:01:17 +0100 Subject: [PATCH] mdev: fix build failure The error was "error: 'struct globals' has no member named 'parser'" Signed-off-by: Denys Vlasenko --- util-linux/mdev.c | 3 +-- 1 file changed, 1 insertion(+), 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) } /* 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) { -- 2.25.1