]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: prefer American spelling of canceled 37356/head
authorJelle van der Waa <jvanderwaa@redhat.com>
Tue, 6 May 2025 14:24:42 +0000 (16:24 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Tue, 6 May 2025 14:26:47 +0000 (16:26 +0200)
src/core/dbus-unit.c
src/core/dbus-unit.h

index b955a2fdded06ff5b2e7a460bed69a8e5253cad1..9080ad93de9927b47afef1107507f20138384ba3 100644 (file)
@@ -1771,7 +1771,7 @@ void bus_unit_send_pending_change_signal(Unit *u, bool including_new) {
         bus_unit_send_change_signal(u);
 }
 
-int bus_unit_send_pending_freezer_message(Unit *u, bool cancelled) {
+int bus_unit_send_pending_freezer_message(Unit *u, bool canceled) {
         _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
         int r;
 
@@ -1780,7 +1780,7 @@ int bus_unit_send_pending_freezer_message(Unit *u, bool cancelled) {
         if (!u->pending_freezer_invocation)
                 return 0;
 
-        if (cancelled)
+        if (canceled)
                 r = sd_bus_message_new_method_error(
                                 u->pending_freezer_invocation,
                                 &reply,
index e9dd1ec31703954c48c717897d4500e465f708ec..9cf2cbf878d49662044fee2eff95dcd6bfe57943 100644 (file)
@@ -10,7 +10,7 @@ extern const sd_bus_vtable bus_unit_cgroup_vtable[];
 
 void bus_unit_send_change_signal(Unit *u);
 void bus_unit_send_pending_change_signal(Unit *u, bool including_new);
-int bus_unit_send_pending_freezer_message(Unit *u, bool cancelled);
+int bus_unit_send_pending_freezer_message(Unit *u, bool canceled);
 void bus_unit_send_removed_signal(Unit *u);
 
 int bus_unit_method_start_generic(sd_bus_message *message, Unit *u, JobType job_type, bool reload_if_possible, sd_bus_error *error);