summaryrefslogtreecommitdiff
path: root/src/udev/udev-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/udev-event.c')
-rw-r--r--src/udev/udev-event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 3caa37ab3f..3875ce2e56 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -811,7 +811,7 @@ void udev_event_execute_rules(struct udev_event *event,
return;
if (streq(udev_device_get_action(dev), "remove")) {
- udev_device_read_db(dev, NULL);
+ udev_device_read_db(dev);
udev_device_delete_db(dev);
udev_device_tag_index(dev, NULL, false);
@@ -828,7 +828,7 @@ void udev_event_execute_rules(struct udev_event *event,
} else {
event->dev_db = udev_device_shallow_clone(dev);
if (event->dev_db != NULL) {
- udev_device_read_db(event->dev_db, NULL);
+ udev_device_read_db(event->dev_db);
udev_device_set_info_loaded(event->dev_db);
/* disable watch during event processing */