diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index b9b350d1ef..b990f68e93 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -921,7 +921,7 @@ static int parse_token(UdevRules *rules, const char *key, char *attr, UdevRuleOp op = OP_ASSIGN; } - r = rule_line_add_token(rule_line, TK_A_SECLABEL, op, value, NULL); + r = rule_line_add_token(rule_line, TK_A_SECLABEL, op, value, attr); } else if (streq(key, "RUN")) { if (is_match || op == OP_REMOVE) return log_token_invalid_op(rules, key);