diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-04-23 03:24:38 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-04-23 03:24:38 +0200 |
commit | dacea9ff6be55f1b115c13b1ab530812d0d66879 (patch) | |
tree | b7a2faed0421049e6a343da7326f612aab5b4efc /udev/udevadm-monitor.c | |
parent | c7dff03e057a7548bc2f2adbd5d2798d209b56e6 (diff) |
libudev: monitor - switch to filter_add_match_subsystem_devtype()
Diffstat (limited to 'udev/udevadm-monitor.c')
-rw-r--r-- | udev/udevadm-monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-monitor.c b/udev/udevadm-monitor.c index 92215b671b..10b2f2e71b 100644 --- a/udev/udevadm-monitor.c +++ b/udev/udevadm-monitor.c @@ -143,7 +143,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[]) udev_list_entry_foreach(entry, udev_list_get_entry(&subsystem_match_list)) { const char *subsys = udev_list_entry_get_name(entry); - if (udev_monitor_filter_add_match_subsystem(udev_monitor, subsys) < 0) + if (udev_monitor_filter_add_match_subsystem_devtype(udev_monitor, subsys, NULL) < 0) fprintf(stderr, "error: unable to apply subsystem filter '%s'\n", subsys); } |