summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-01-26 14:13:31 +0100
committerAnthony G. Basile <blueness@gentoo.org>2015-02-08 11:14:54 -0500
commit750c8ded9b84ded5f08c34a3d82ff862da0398d8 (patch)
treee2e2512e75d4326d95f399ba253f6e9cbb4665a9
parent7edee6302ec0759f5bb84f07c0c352377be7ac5d (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). Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-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 df1bb81fe8..90ed7d8f0f 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -893,7 +893,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);
}
}