diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-29 15:01:39 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-07 13:35:03 +0900 |
commit | 480ecb7d28193bbfcd1a7534b1ee37c268494680 (patch) | |
tree | 35229355ed7ed2503de5726a532a402ba767f666 /src/udev/udev.h | |
parent | e0bb2ff94b884268045f23b296fc222946eedf0d (diff) | |
download | systemd-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.h | 2 |
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; |