From 5d69a34caffd595d918dd859a5b079f95d250064 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 21 Apr 2010 15:43:05 +0200 Subject: [PATCH] fix previous commit --- udev/udev-rules.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/udev/udev-rules.c b/udev/udev-rules.c index f5d23b45..6eb83503 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -356,6 +356,8 @@ static void dump_token(struct udev_rules *rules, struct token *token) break; case TK_A_STRING_ESCAPE_NONE: case TK_A_STRING_ESCAPE_REPLACE: + dbg(rules->udev, "%s\n", token_str(type)); + break; case TK_M_TEST: dbg(rules->udev, "%s %s '%s'(%s) %#o\n", token_str(type), operation_str(op), value, string_glob_str(glob), token->key.mode); @@ -1023,6 +1025,7 @@ static int rule_add_key(struct rule_tmp *rule_tmp, enum token_type type, break; case TK_A_STRING_ESCAPE_NONE: case TK_A_STRING_ESCAPE_REPLACE: + break; case TK_A_RUN: token->key.value_off = add_string(rule_tmp->rules, value); token->key.fail_on_error = *(int *)data; -- 2.39.5