]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/binfmt/binfmt.c
treewide: use log_*_errno whenever %m is in the format string
[thirdparty/systemd.git] / src / binfmt / binfmt.c
index cbba42f6dc8c3c48eebd4438f5aee3687b39a811..089b7754a431b6cc4e9cff611b7ad0f06fa80b9e 100644 (file)
@@ -93,7 +93,7 @@ static int apply_file(const char *path, bool ignore_enoent) {
                         if (feof(f))
                                 break;
 
                         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;
                 }
 
                         return -errno;
                 }