diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-05-03 18:09:25 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-05-03 18:09:25 +0200 |
commit | 6d80a7e83f55c7319d1cb9b0a9910a005b2f4103 (patch) | |
tree | 99c95f88a20e9b63e534800ca653e650015aefdf /udev/udev-rules.c | |
parent | c7cdd8b2d28ff56211ac9ce54805f5568ffa7346 (diff) |
remove debug output during rules parsing
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r-- | udev/udev-rules.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 6f3335b8c8..eb73221fa9 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -1468,9 +1468,7 @@ static int add_rule(struct udev_rules *rules, char *line, if (op < OP_MATCH_MAX) { rule_add_key(&rule_tmp, TK_M_NAME, op, value, NULL); } else { - if (value[0] == '\0') - info(rules->udev, "name empty, node creation suppressed\n"); - else if (strcmp(value, "%k") == 0) + if (strcmp(value, "%k") == 0) err(rules->udev, "NAME=\"%%k\" is superfluous and breaks " "kernel supplied names, please remove it from %s:%u\n", filename, lineno); rule_add_key(&rule_tmp, TK_A_NAME, op, value, NULL); |