summaryrefslogtreecommitdiff
path: root/udev/udevadm-trigger.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-20 18:12:36 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-20 18:12:36 +0200
commit69239210bee89c1745f2dd5f1e7cff4efd07e429 (patch)
tree05ce2a3b745263469985116d712a9bc0da052463 /udev/udevadm-trigger.c
parent2d9a1b1ef284663b14e2fda714eddcd9c12bc42a (diff)
libudev: device - get_attr_value() -> get_sysattr_value()
Diffstat (limited to 'udev/udevadm-trigger.c')
-rw-r--r--udev/udevadm-trigger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index eb46a2983c..e475e40949 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -156,7 +156,7 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
val[0] = 0;
val = &val[1];
}
- udev_enumerate_add_match_attr(udev_enumerate, attr, val);
+ udev_enumerate_add_match_sysattr(udev_enumerate, attr, val);
break;
case 'A':
util_strlcpy(attr, optarg, sizeof(attr));
@@ -165,7 +165,7 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
val[0] = 0;
val = &val[1];
}
- udev_enumerate_add_nomatch_attr(udev_enumerate, attr, val);
+ udev_enumerate_add_nomatch_sysattr(udev_enumerate, attr, val);
break;
case 'h':
printf("Usage: udevadm trigger OPTIONS\n"