mdev: fix build failure

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

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2013-03-17 23:01:17 +01:00
parent c56d12505b
commit 4424dfd69b

View File

@ -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) {