summaryrefslogtreecommitdiff
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
parentf5001d2465be849306149c902a9db5b031d10428 (diff)
fix segfault caused by wrong pointer used in dbg()
-rw-r--r--TODO1
-rw-r--r--udev/udev_rules_parse.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/TODO b/TODO
index 2bbfdb6607..8c74f6521f 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,4 @@
+ o test --type=failed
o add libudev queue - interface for /dev/.udev/queue/ state
use queue interface for "settle"
use queue interface for --type=failed
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;
}