tree-wide: use sd_bus_message_send() instead of sd_bus_send() wherever possible

Also, add a coccinelle script that patches this automatically.
This commit is contained in:
Lennart Poettering
2025-06-24 13:07:54 +02:00
committed by Yu Watanabe
parent 9422ce83c2
commit 51cc3825d1
20 changed files with 58 additions and 52 deletions

View File

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