summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-test.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-11-13 20:35:06 +0100
committerKay Sievers <kay@vrfy.org>2014-11-13 20:35:06 +0100
commitadeba5008eac3105ae59256dedd087ebe006a9e6 (patch)
tree5b8dd3f0e7c6e47b560e89fd48f3039e1201a78e /src/udev/udevadm-test.c
parent41b848b0ea674dba135d5d5f82b87d126d967fcf (diff)
udev: support ENV{}=="" global property matches
Diffstat (limited to 'src/udev/udevadm-test.c')
-rw-r--r--src/udev/udevadm-test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/udev/udevadm-test.c b/src/udev/udevadm-test.c
index 4738b611c3..d9d61b42d5 100644
--- a/src/udev/udevadm-test.c
+++ b/src/udev/udevadm-test.c
@@ -136,7 +136,11 @@ static int adm_test(struct udev *udev, int argc, char *argv[]) {
goto out;
}
- udev_event_execute_rules(event, 60 * USEC_PER_SEC, 20 * USEC_PER_SEC, rules, &sigmask_orig);
+ udev_event_execute_rules(event,
+ 60 * USEC_PER_SEC, 20 * USEC_PER_SEC,
+ NULL,
+ rules,
+ &sigmask_orig);
udev_list_entry_foreach(entry, udev_device_get_properties_list_entry(dev))
printf("%s=%s\n", udev_list_entry_get_name(entry), udev_list_entry_get_value(entry));