summaryrefslogtreecommitdiff
path: root/src/core/scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/scope.c')
-rw-r--r--src/core/scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/scope.c b/src/core/scope.c
index a2b9265061..abadd1f827 100644
--- a/src/core/scope.c
+++ b/src/core/scope.c
@@ -290,7 +290,7 @@ static int scope_start(Unit *u) {
r = unit_realize_cgroup(u);
if (r < 0) {
- log_error("Failed to realize cgroup: %s", strerror(-r));
+ log_error_errno(-r, "Failed to realize cgroup: %m");
return r;
}