summaryrefslogtreecommitdiff
path: root/src/shared/dropin.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-05 20:18:47 +0200
committerLennart Poettering <lennart@poettering.net>2018-06-07 15:29:17 +0200
commitb8b846d7b4c20bd1ac8c72e49e9d134ce8bd5213 (patch)
tree0da42b03f22ad9adab192600c6661fa3c35ea0ce /src/shared/dropin.c
parent04eb582acc203eab0bc5c2cc5e13986f16e09df0 (diff)
downloadsystemd-b8b846d7b4c20bd1ac8c72e49e9d134ce8bd5213.tar.gz
tree-wide: fix a number of log calls that use %m but have no errno set
This is mostly fall-out from d1a1f0aaf0d2f08c60d1e0d32e646439d99f58dc, however some cases are older bugs. There might be more issues lurking, this was a simple grep for "%m" across the tree, with all lines removed that mention "errno" at all.
Diffstat (limited to 'src/shared/dropin.c')
-rw-r--r--src/shared/dropin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/dropin.c b/src/shared/dropin.c
index d9362f6919..0fc02914ac 100644
--- a/src/shared/dropin.c
+++ b/src/shared/dropin.c
@@ -210,7 +210,7 @@ static int unit_file_find_dirs(
type = unit_name_to_type(name);
if (type < 0) {
- log_error("Failed to to derive unit type from unit name: %m");
+ log_error("Failed to to derive unit type from unit name: %s", name);
return -EINVAL;
}