From: Kay Sievers Date: Tue, 30 Sep 2008 12:47:49 +0000 (+0200) Subject: fix segfault caused by wrong pointer used in dbg() X-Git-Tag: 174~1508 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d98bffa802b214452d34109967423f1d60df89af;p=systemd fix segfault caused by wrong pointer used in dbg() --- diff --git a/TODO b/TODO index 2bbfdb66..8c74f652 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 b7ae06a2..5a9552ff 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; }