summaryrefslogtreecommitdiff
path: root/src/binfmt
diff options
context:
space:
mode:
Diffstat (limited to 'src/binfmt')
-rw-r--r--src/binfmt/binfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c
index cbba42f6dc..089b7754a4 100644
--- a/src/binfmt/binfmt.c
+++ b/src/binfmt/binfmt.c
@@ -93,7 +93,7 @@ static int apply_file(const char *path, bool ignore_enoent) {
if (feof(f))
break;
- log_error("Failed to read file '%s', ignoring: %m", path);
+ log_error_errno(errno, "Failed to read file '%s', ignoring: %m", path);
return -errno;
}