]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/dbus-unit: don't log cgroup v1 property name
authorMike Yuan <me@yhndnzj.com>
Fri, 24 Nov 2023 11:12:06 +0000 (19:12 +0800)
committerMike Yuan <me@yhndnzj.com>
Fri, 24 Nov 2023 15:22:40 +0000 (23:22 +0800)
src/core/dbus-unit.c

index 36b1bfa066bdc8b54e7db1123edab7f77e0a2021..1a037b70357caf4ac2c1f3780533c70cc2322541 100644 (file)
@@ -1075,7 +1075,7 @@ static int property_get_current_memory(
 
         r = unit_get_memory_current(u, &sz);
         if (r < 0 && r != -ENODATA)
-                log_unit_warning_errno(u, r, "Failed to get memory.usage_in_bytes attribute: %m");
+                log_unit_warning_errno(u, r, "Failed to get current memory usage from cgroup: %m");
 
         return sd_bus_message_append(reply, "t", sz);
 }