summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-builtin-btrfs.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-btrfs.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-btrfs.c')
-rw-r--r--src/udev/udev-builtin-btrfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-btrfs.c b/src/udev/udev-builtin-btrfs.c
index fa6c352c30..4d6787e3af 100644
--- a/src/udev/udev-builtin-btrfs.c
+++ b/src/udev/udev-builtin-btrfs.c
@@ -32,7 +32,7 @@ static int builtin_btrfs(struct udev_device *dev, int argc, char *argv[], bool t
if (err < 0)
return EXIT_FAILURE;
- udev_builtin_add_property(dev, test, "ID_BTRFS_READY", one_zero(err == 0));
+ udev_builtin_add_property(dev->device, test, "ID_BTRFS_READY", one_zero(err == 0));
return EXIT_SUCCESS;
}