diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-14 01:22:14 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-23 18:28:38 +0900 |
commit | 3fc2e9a247cd6e2725168d49b908b6a0821c2516 (patch) | |
tree | 386f7ce6a92c1e795bb10a7a16321011d7e67179 /src/udev/udev-builtin-path_id.c | |
parent | 71bd61c5765d3c1b7efef910f83d2712ae02a68f (diff) | |
download | systemd-3fc2e9a247cd6e2725168d49b908b6a0821c2516.tar.gz |
udev: replace udev_device by sd_device from prototype of udev builtin commands
Diffstat (limited to 'src/udev/udev-builtin-path_id.c')
-rw-r--r-- | src/udev/udev-builtin-path_id.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c index ac49135369..ef8adcdab4 100644 --- a/src/udev/udev-builtin-path_id.c +++ b/src/udev/udev-builtin-path_id.c @@ -519,13 +519,12 @@ static sd_device *handle_ap(sd_device *parent, char **path) { return skip_subsystem(parent, "ap"); } -static int builtin_path_id(struct udev_device *_dev, int argc, char *argv[], bool test) { +static int builtin_path_id(sd_device *dev, int argc, char *argv[], bool test) { sd_device *parent; _cleanup_free_ char *path = NULL; bool supported_transport = false; bool supported_parent = false; const char *subsystem; - sd_device *dev = _dev->device; assert(dev); |