1
0
mirror of https://github.com/systemd/systemd synced 2025-10-06 00:13:24 +02:00
Files
systemd/coccinelle/bus-message-send.cocci
Lennart Poettering 51cc3825d1 tree-wide: use sd_bus_message_send() instead of sd_bus_send() wherever possible
Also, add a coccinelle script that patches this automatically.
2025-06-24 23:23:40 +09:00

7 lines
123 B
Plaintext

/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
expression m;
@@
- sd_bus_send(NULL, m, NULL)
+ sd_bus_message_send(m)