From d98bffa802b214452d34109967423f1d60df89af Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 30 Sep 2008 14:47:49 +0200 Subject: fix segfault caused by wrong pointer used in dbg() --- TODO | 1 + udev/udev_rules_parse.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3-54-g00ecf