chiark / gitweb /
udev: event - minor nit
authorTom Gundersen <teg@jklm.no>
Mon, 26 Jan 2015 13:13:31 +0000 (14:13 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 26 Jan 2015 13:13:31 +0000 (14:13 +0100)
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

index d6c9cfc..a8dd462 100644 (file)
@@ -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);
                         }
                 }