summaryrefslogtreecommitdiff
path: root/src/udev/udev-event.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-01-26 14:13:31 +0100
committerTom Gundersen <teg@jklm.no>2015-01-26 14:13:31 +0100
commit04ef387ea900ff59f801d7bf745f21e644711643 (patch)
tree75facf7fe88d94d18c223b02eed85877fa703093 /src/udev/udev-event.c
parentfa639f3ae770ffccdd9f97430b0883d01bc821ce (diff)
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).
Diffstat (limited to 'src/udev/udev-event.c')
-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);
}
}