summaryrefslogtreecommitdiff
path: root/src/udev/udev.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-29 15:01:39 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-07 13:35:03 +0900
commit480ecb7d28193bbfcd1a7534b1ee37c268494680 (patch)
tree35229355ed7ed2503de5726a532a402ba767f666 /src/udev/udev.h
parente0bb2ff94b884268045f23b296fc222946eedf0d (diff)
downloadsystemd-480ecb7d28193bbfcd1a7534b1ee37c268494680.tar.gz
udev: use sd_device for udev_event.dev_db
Also, this adds sd_device_unref for the object in udev_event_free() for safety and readability of code.
Diffstat (limited to 'src/udev/udev.h')
-rw-r--r--src/udev/udev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev.h b/src/udev/udev.h
index 34c63a6eac..c963af8cb4 100644
--- a/src/udev/udev.h
+++ b/src/udev/udev.h
@@ -23,7 +23,7 @@
struct udev_event {
struct udev_device *dev;
struct udev_device *dev_parent;
- struct udev_device *dev_db;
+ sd_device *dev_db_clone;
char *name;
char *program_result;
mode_t mode;