fix segfault caused by wrong pointer used in dbg()
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 30 Sep 2008 12:47:49 +0000 (14:47 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 30 Sep 2008 12:47:49 +0000 (14:47 +0200)
TODO
udev/udev_rules_parse.c

diff --git a/TODO b/TODO
index 2bbfdb6..8c74f65 100644 (file)
--- 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
index b7ae06a..5a9552f 100644 (file)
@@ -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;
 }