]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-device: absolute devlink must start with /dev/
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 12 Apr 2023 00:01:45 +0000 (09:01 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 12 Apr 2023 00:20:11 +0000 (09:20 +0900)
commit70e4510805cf6a0ad17bb838024dc9fc40f587f5
tree8e1c66eb49037ad6583b4e7ec82397a7a884c08c
parent965b481d9bdf186e2a74dae2fac17427b2ade22a
sd-device: absolute devlink must start with /dev/

This also makes device node path is handled with the same logic.

Addresses https://github.com/systemd/systemd/pull/27169#discussion_r1162739511.

Follow-up for 2c5f119c3cc78bd7da0c7c56b57eca43bac464c1.
src/libsystemd/sd-device/sd-device.c