summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-builtin-hwdb.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-13 17:28:40 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-10-23 10:51:34 +0200
commit0c9c063477e499cdd04307b14cd6fa5308d0b45e (patch)
tree42fd94f977ca63c823219026d86178e1c9fff5f4 /src/udev/udev-builtin-hwdb.c
parenttests: allow passing log_level via an environment variable (#10490) (diff)
downloadsystemd-0c9c063477e499cdd04307b14cd6fa5308d0b45e.tar.xz
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.c2
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++;
}