From 04ef387ea900ff59f801d7bf745f21e644711643 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 26 Jan 2015 14:13:31 +0100 Subject: [PATCH] udev: event - minor nit Stay uniform and use 'dev' rather than 'event->dev', as these are aliases (and event->dev looks like it may be a typo for event->dev_db). --- src/udev/udev-event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c index d6c9cfc..a8dd462 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); } } -- 2.7.4