diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-20 18:12:36 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-20 18:12:36 +0200 |
commit | 69239210bee89c1745f2dd5f1e7cff4efd07e429 (patch) | |
tree | 05ce2a3b745263469985116d712a9bc0da052463 /udev/udev-event.c | |
parent | 2d9a1b1ef284663b14e2fda714eddcd9c12bc42a (diff) |
libudev: device - get_attr_value() -> get_sysattr_value()
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r-- | udev/udev-event.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c index 54006b5927..007a14ebe9 100644 --- a/udev/udev-event.c +++ b/udev/udev-event.c @@ -141,7 +141,7 @@ int udev_event_apply_subsys_kernel(struct udev_event *udev_event, const char *st if (read_value) { const char *val; - val = udev_device_get_attr_value(dev, attr); + val = udev_device_get_sysattr_value(dev, attr); if (val != NULL) util_strlcpy(result, val, maxsize); else @@ -359,7 +359,7 @@ found: if (value[0] == '\0' && event->dev_parent != NULL && event->dev_parent != event->dev) { const char *val; - val = udev_device_get_attr_value(event->dev_parent, attr); + val = udev_device_get_sysattr_value(event->dev_parent, attr); if (val != NULL) util_strlcpy(value, val, sizeof(value)); } @@ -371,7 +371,7 @@ found: do { dbg(event->udev, "looking at '%s'\n", udev_device_get_syspath(dev_parent)); - val = udev_device_get_attr_value(dev_parent, attr); + val = udev_device_get_sysattr_value(dev_parent, attr); if (val != NULL) { util_strlcpy(value, val, sizeof(value)); break; |