From: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH 1/2] udevd: trivial cleanup in udev_rules_iter
Date: Sun, 28 Sep 2008 11:01:38 +0000 [thread overview]
Message-ID: <48DF6412.3030206@tuffmail.co.uk> (raw)
diff --git a/udev/udev_rules_parse.c b/udev/udev_rules_parse.c
index 541d651..229096c 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;
reply other threads:[~2008-09-28 11:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48DF6412.3030206@tuffmail.co.uk \
--to=alan-jenkins@tuffmail.co.uk \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).