1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-11 20:58:27 +03:00

machine: fix bus method argument name: who -> whom

Follow-up for cd2fb04960b8aa0b353d12005b8cfc3b9d2bcfee.
This commit is contained in:
Yu Watanabe 2024-09-21 03:49:18 +09:00
parent 427848ffd0
commit 3ae0e54527
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ node /org/freedesktop/machine1 {
UnregisterMachine(in s name);
TerminateMachine(in s id);
KillMachine(in s name,
in s who,
in s whom,
in i signal);
GetMachineAddresses(in s name,
out a(iay) addresses);

View File

@ -1051,7 +1051,7 @@ const sd_bus_vtable manager_vtable[] = {
method_terminate_machine,
SD_BUS_VTABLE_UNPRIVILEGED),
SD_BUS_METHOD_WITH_ARGS("KillMachine",
SD_BUS_ARGS("s", name, "s", who, "i", signal),
SD_BUS_ARGS("s", name, "s", whom, "i", signal),
SD_BUS_NO_RESULT,
method_kill_machine,
SD_BUS_VTABLE_UNPRIVILEGED),