]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared/bus-unit-util: fix appending of IODeviceLatencyTargetSec=
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 18 Jun 2025 12:42:02 +0000 (14:42 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 3 Jul 2025 08:37:33 +0000 (10:37 +0200)
src/shared/bus-unit-util.c

index 4f82d91536383e62255bc10e3836c19361f2194f..f99ced824f3173a98c8a4e1b1e2ac4b1735f9c9d 100644 (file)
@@ -808,7 +808,7 @@ static int bus_append_cgroup_property(sd_bus_message *m, const char *field, cons
                 const char *field_usec = "IODeviceLatencyTargetUSec";
 
                 if (isempty(eq))
-                        r = sd_bus_message_append(m, "(sv)", field_usec, "a(st)", USEC_INFINITY);
+                        r = sd_bus_message_append(m, "(sv)", field_usec, "a(st)", 0);
                 else {
                         const char *path, *target, *e;
                         usec_t usec;