summaryrefslogtreecommitdiff
path: root/udev/udev-rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-04-21 15:43:05 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-04-21 15:43:05 +0200
commit5d69a34caffd595d918dd859a5b079f95d250064 (patch)
treec56cc0b4305b8dda439f256049ee64c8d86a097d /udev/udev-rules.c
parente9906fec711192761f27468244d3012041bcb0ee (diff)
fix previous commit
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r--udev/udev-rules.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c
index f5d23b45b4..6eb8350343 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;