chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: auto-convert the simple cases to log_*_errno()
[elogind.git]
/
src
/
core
/
scope.c
diff --git
a/src/core/scope.c
b/src/core/scope.c
index a2b9265061afc5b0ce1b4458cca2b317831b665b..abadd1f82714a8a73a70189c8435c01b71973bb0 100644
(file)
--- 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;
}