]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/dbus-unit: remove reference to cgroup v1 attribute
authorMike Yuan <me@yhndnzj.com>
Fri, 16 Jan 2026 23:04:01 +0000 (00:04 +0100)
committerMike Yuan <me@yhndnzj.com>
Sat, 17 Jan 2026 14:00:09 +0000 (15:00 +0100)
src/core/dbus-unit.c

index 5b04d2079fe5209744435fee6fabd0b0769c3589..3c24645b47d0660bc0aebd0f0ca7afafb1690a17 100644 (file)
@@ -1199,7 +1199,7 @@ static int property_get_cpu_usage(
 
         r = unit_get_cpu_usage(u, &ns);
         if (r < 0 && r != -ENODATA)
-                log_unit_warning_errno(u, r, "Failed to get cpuacct.usage attribute: %m");
+                log_unit_warning_errno(u, r, "Failed to get CPU usage: %m");
 
         return sd_bus_message_append(reply, "t", ns);
 }