bootspec: correct error code shown in log msg

This commit is contained in:
Lennart Poettering
2019-03-05 16:50:58 +01:00
parent 93f14ce28d
commit dba33c4a2c
+1 -1
View File
@@ -482,7 +482,7 @@ static int boot_entries_find_unified(
r = fd_verify_regular(fd);
if (r < 0) {
log_warning_errno(errno, "File %s/%s is not regular, ignoring: %m", dir, de->d_name);
log_warning_errno(r, "File %s/%s is not regular, ignoring: %m", dir, de->d_name);
continue;
}