summaryrefslogtreecommitdiff
path: root/udev_rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-04-06 19:50:19 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-04-06 19:50:19 +0200
commit019d6669076f52994cca199fbbae6eefbb96aeb8 (patch)
treeb33bf7681008f903f9dbba506087054ce0a53417 /udev_rules.c
parent68d4af11cae0af3a8e06770228b16613700b363e (diff)
udevinfo: export all information stored in database
Diffstat (limited to 'udev_rules.c')
-rw-r--r--udev_rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_rules.c b/udev_rules.c
index d77d5ec196..6bd28ad4b7 100644
--- a/udev_rules.c
+++ b/udev_rules.c
@@ -914,7 +914,7 @@ int udev_rules_get_name(struct udev_rules *rules, struct udevice *udev)
udev->ignore_remove = 1;
dbg("remove event should be ignored");
}
- if (rule->link_priority) {
+ if (rule->link_priority != 0) {
udev->link_priority = rule->link_priority;
info("link_priority=%i", udev->link_priority);
}