projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed272a9
)
core/dbus-unit: don't log cgroup v1 property name
author
Mike Yuan
<me@yhndnzj.com>
Fri, 24 Nov 2023 11:12:06 +0000
(19:12 +0800)
committer
Mike Yuan
<me@yhndnzj.com>
Fri, 24 Nov 2023 15:22:40 +0000
(23:22 +0800)
src/core/dbus-unit.c
patch
|
blob
|
history
diff --git
a/src/core/dbus-unit.c
b/src/core/dbus-unit.c
index 36b1bfa066bdc8b54e7db1123edab7f77e0a2021..1a037b70357caf4ac2c1f3780533c70cc2322541 100644
(file)
--- a/
src/core/dbus-unit.c
+++ b/
src/core/dbus-unit.c
@@
-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);
}