]> git.ipfire.org Git - thirdparty/systemd.git/commit
storagetm: use path to device node instead of devpath
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 14 Nov 2023 02:58:22 +0000 (11:58 +0900)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Nov 2023 07:52:40 +0000 (08:52 +0100)
commit921961c3a3d3301af290e69e132a5667c1d68355
tree30d1f9c286f4c4786c0d5b7d7746541ef053c1e7
parent4ce6e7d158f4e135d0f70359a12eba4ce68ce170
storagetm: use path to device node instead of devpath

To make the generated IDs equivalent when
- sd_device object is not provided,
- sd_device object is provided, but it does not have ID_SERIAL.

Follow-up for abc19a6ffaa94893ffc40cc000e5bb4437f67656.

This also fixes missing voidification.

Fixes CID#1524253.
src/storagetm/storagetm.c