summaryrefslogtreecommitdiff
path: root/udev/udev-rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-21 12:42:13 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-21 12:42:13 +0200
commit94db05d28837d8c419b1110c79c71e1025ac58ac (patch)
treed3f9190c7fcb4fe310e8feca8425530973f7de82 /udev/udev-rules.c
parente02d738ee4da950e9228802ea52d9a6f0992c442 (diff)
replace missing get_attr_value() -> get_sysattr_value()
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r--udev/udev-rules.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c
index cbf3511595..9b2a6ab3ec 100644
--- a/udev/udev-rules.c
+++ b/udev/udev-rules.c
@@ -596,7 +596,7 @@ static int match_rule(struct udev_event *event, struct udev_rule *rule)
if (value[0]=='\0') {
const char *val;
- val = udev_device_get_attr_value(dev, key_name);
+ val = udev_device_get_sysattr_value(dev, key_name);
if (val != NULL)
util_strlcpy(value, val, sizeof(value));
}
@@ -648,9 +648,9 @@ static int match_rule(struct udev_event *event, struct udev_rule *rule)
char value[UTIL_NAME_SIZE];
size_t len;
- val = udev_device_get_attr_value(event->dev_parent, key_name);
+ val = udev_device_get_sysattr_value(event->dev_parent, key_name);
if (val == NULL)
- val = udev_device_get_attr_value(dev, key_name);
+ val = udev_device_get_sysattr_value(dev, key_name);
if (val == NULL)
goto try_parent;
util_strlcpy(value, val, sizeof(value));