summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index d6c9cfc60d..a8dd462d6d 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -830,7 +830,7 @@ void udev_event_execute_rules(struct udev_event *event,
key = udev_list_entry_get_name(entry);
value = udev_list_entry_get_value(entry);
- property = udev_device_add_property(event->dev, key, value);
+ property = udev_device_add_property(dev, key, value);
udev_list_entry_set_num(property, true);
}
}