mirror of
https://github.com/systemd/systemd
synced 2024-10-07 00:30:59 +00:00
fsck: use correct errno
This commit is contained in:
parent
1905d621db
commit
674becc987
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue