fsck: use correct errno

This commit is contained in:
Mike Yuan 2023-12-14 23:38:39 +08:00
parent 1905d621db
commit 674becc987
No known key found for this signature in database
GPG key ID: 417471C0A40F58B3

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;
}