]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-device: use strdup_to() and rename output param
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 19 Mar 2024 22:14:31 +0000 (23:14 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Mar 2024 14:18:21 +0000 (15:18 +0100)
commitbca4dc29df8617cb8d3d391dc43c1d18fd1c4470
treeabe1bbc3b4c94da76b5059f26d2a365a790f59d7
parentbef2c63a40fb7eb0c308f6a72ef9e972a2763ead
sd-device: use strdup_to() and rename output param

device_open_from_devnum() returns two things: the devname via
an output param, and the fd via the return value. Rename the param
to signal that it's not the only return channel.
src/libsystemd/sd-device/device-util.c
src/libsystemd/sd-device/device-util.h