From: Kay Sievers Date: Wed, 21 Apr 2010 13:43:05 +0000 (+0200) Subject: fix previous commit X-Git-Tag: 174~526 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d69a34caffd595d918dd859a5b079f95d250064;p=systemd fix previous commit --- 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;