diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2008-09-28 12:01:38 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-28 14:10:53 +0200 |
commit | 669ed8675f7a8bc3987ad501d11f7623b70698e6 (patch) | |
tree | 70a196ccd25f8e4c69adc48652341af8a56f635c | |
parent | b95f8a76e614004c69fcf829568c826a7e769bbe (diff) |
trivial cleanup in udev_rules_iter
-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 541d651f0e..229096c8d7 100644 --- a/udev/udev_rules_parse.c +++ b/udev/udev_rules_parse.c @@ -45,9 +45,9 @@ struct udev_rule *udev_rules_iter_next(struct udev_rules_iter *iter) if (!rules) return NULL; - dbg(iter->rules->udev, "current=%zi\n", iter->current); + dbg(rules->udev, "current=%zi\n", iter->current); if (iter->current >= rules->bufsize) { - dbg(iter->rules->udev, "no more rules\n"); + dbg(rules->udev, "no more rules\n"); return NULL; } @@ -65,7 +65,7 @@ struct udev_rule *udev_rules_iter_label(struct udev_rules_iter *iter, const char size_t start = iter->current; next: - dbg(iter->rules->udev, "current=%zi\n", iter->current); + dbg(rules->udev, "current=%zi\n", iter->current); if (iter->current >= rules->bufsize) { err(rules->udev, "LABEL='%s' not found, GOTO will be ignored\n", label); iter->current = start; |