]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/sysctl/sysctl.c
treewide: use log_*_errno whenever %m is in the format string
[thirdparty/systemd.git] / src / sysctl / sysctl.c
index 2d1ae6e8b17e8677f1580a6268c0ffe18c7a24d0..973e67e3c8989a9c550bbc7aabf8ecc81843682b 100644 (file)
@@ -147,7 +147,7 @@ static int parse_file(Hashmap *sysctl_options, const char *path, bool ignore_eno
                         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;
                 }