mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
parent
a5b4550213
commit
f4a4493eb5
|
@ -556,6 +556,7 @@ static int find_real_nvme_parent(sd_device *dev, sd_device **ret) {
|
|||
* /sys/devices/pci0000:00/0000:00:1c.4/0000:3c:00.0/nvme/nvme0 */
|
||||
|
||||
assert(dev);
|
||||
assert(ret);
|
||||
|
||||
r = sd_device_get_sysname(dev, &sysname);
|
||||
if (r < 0)
|
||||
|
|
Loading…
Reference in a new issue