summaryrefslogtreecommitdiff
path: root/udev/udev_rules_parse.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-30 14:47:49 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-30 14:47:49 +0200
commitd98bffa802b214452d34109967423f1d60df89af (patch)
treeb2bead04d66081fa9bcb017ec5a393d987c6edc7 /udev/udev_rules_parse.c
parentf5001d2465be849306149c902a9db5b031d10428 (diff)
fix segfault caused by wrong pointer used in dbg()
Diffstat (limited to 'udev/udev_rules_parse.c')
-rw-r--r--udev/udev_rules_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev_rules_parse.c b/udev/udev_rules_parse.c
index b7ae06a20d..5a9552ffde 100644
--- a/udev/udev_rules_parse.c
+++ b/udev/udev_rules_parse.c
@@ -31,7 +31,7 @@
void udev_rules_iter_init(struct udev_rules_iter *iter, struct udev_rules *rules)
{
- dbg(iter->rules->udev, "bufsize=%zi\n", rules->bufsize);
+ dbg(rules->udev, "bufsize=%zi\n", rules->bufsize);
iter->rules = rules;
iter->current = 0;
}