summaryrefslogtreecommitdiff
path: root/src/core/load-dropin.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-11-28 14:45:55 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-11-28 14:45:55 +0100
commit279d3c9cead3a7ffb657fedbab0e2bc90db45667 (patch)
tree563b8f326cdfe77c3f498d9a292834735f36b37b /src/core/load-dropin.c
parentff49bc3212cb07d850dcfd59940539773a0be26f (diff)
treewide: more log_*_errno() conversions
Diffstat (limited to 'src/core/load-dropin.c')
-rw-r--r--src/core/load-dropin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-dropin.c b/src/core/load-dropin.c
index 0abac9584d..8da4adc9a2 100644
--- a/src/core/load-dropin.c
+++ b/src/core/load-dropin.c
@@ -71,7 +71,7 @@ static int iterate_dir(
de = readdir(d);
if (!de && errno != 0) {
k = errno;
- log_error("Failed to read directory %s: %s", path, strerror(k));
+ log_error_errno(k, "Failed to read directory %s: %m", path);
return -k;
}