diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-14 00:28:40 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-23 17:51:34 +0900 |
commit | 0c9c063477e499cdd04307b14cd6fa5308d0b45e (patch) | |
tree | 42fd94f977ca63c823219026d86178e1c9fff5f4 /src/udev/udev-builtin-hwdb.c | |
parent | 20fc56c02df3cab4d14dc630ac455eb8d630a638 (diff) | |
download | systemd-0c9c063477e499cdd04307b14cd6fa5308d0b45e.tar.gz systemd-0c9c063477e499cdd04307b14cd6fa5308d0b45e.tar.bz2 systemd-0c9c063477e499cdd04307b14cd6fa5308d0b45e.zip |
udev: make udev_builtin_add_property() take sd_device instead of udev_device
Diffstat (limited to 'src/udev/udev-builtin-hwdb.c')
-rw-r--r-- | src/udev/udev-builtin-hwdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-hwdb.c b/src/udev/udev-builtin-hwdb.c index 1978fddd14..a0742f9064 100644 --- a/src/udev/udev-builtin-hwdb.c +++ b/src/udev/udev-builtin-hwdb.c @@ -37,7 +37,7 @@ int udev_builtin_hwdb_lookup(struct udev_device *dev, if (filter && fnmatch(filter, key, FNM_NOESCAPE) != 0) continue; - if (udev_builtin_add_property(dev, test, key, value) < 0) + if (udev_builtin_add_property(dev->device, test, key, value) < 0) return -ENOMEM; n++; } |