chiark / gitweb /
update TODO
[elogind.git] / src / modules-load / modules-load.c
index 4dbacd13dc3a3b0359aa0607e0ece8d8f425c37d..5f678789ce0024185c1bc25c491cd3185742f9e3 100644 (file)
@@ -151,7 +151,7 @@ static int apply_file(struct kmod_ctx *ctx, 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;
                 }