diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2008-09-29 17:37:44 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-29 18:39:41 +0200 |
commit | 120ff8a0e8666b9be84fbd1c22ceeef1b1bd0158 (patch) | |
tree | 9eef6e03d06ddc5a8d2458a781fa646acd800f04 /udev | |
parent | 659353f5a9a52336c41cf595d933311b8dc48937 (diff) |
fix messages (inc. debug compile failure) introduced when optimizing "goto"
Signed-off-by: <alan-jenkins@tuffmail.co.uk>
Diffstat (limited to 'udev')
-rw-r--r-- | udev/udev_rules_parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/udev_rules_parse.c b/udev/udev_rules_parse.c index 81ba51fe0f..b7ae06a20d 100644 --- a/udev/udev_rules_parse.c +++ b/udev/udev_rules_parse.c @@ -63,7 +63,7 @@ struct udev_rule *udev_rules_iter_goto(struct udev_rules_iter *iter, size_t rule struct udev_rules *rules = iter->rules; struct udev_rule *rule; - dbg(rules->udev "current=%zi\n", iter->current); + dbg(rules->udev, "current=%zi\n", iter->current); iter->current = rule_off; rule = (struct udev_rule *) (rules->buf + iter->current); @@ -745,10 +745,10 @@ static int parse_file(struct udev_rules *rules, const char *filename) if (rule->goto_label.operation != KEY_OP_UNSET) { char *goto_label = &rule->buf[rule->goto_label.val_off]; - dbg(rules->udev, "resolving goto label '%s'", goto_label); + dbg(rules->udev, "resolving goto label '%s'\n", goto_label); rule->goto_rule_off = find_label(&iter, goto_label); if (rule->goto_rule_off == iter.current) { - err(rules->udev, "goto nonexistent label '%s' in '%s'", + err(rules->udev, "goto nonexistent label '%s' in '%s'\n", goto_label, filename); } } |