fsck: use correct errno

This commit is contained in:
Mike Yuan
2023-12-15 21:21:15 +08:00
parent 1905d621db
commit 674becc987
+1 -1
View File
@@ -177,7 +177,7 @@ static int process_progress(int fd, FILE* console) {
else if (feof(f))
r = 0;
else
r = log_warning_errno(SYNTHETIC_ERRNO(errno), "Failed to parse progress pipe data");
r = log_warning_errno(SYNTHETIC_ERRNO(EINVAL), "Failed to parse progress pipe data.");
break;
}