mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-03-17 21:18:00 +02:00
Fix passing error in fio_send_pages
This commit is contained in:
parent
eb2a397a01
commit
5f840ba436
@ -1150,8 +1150,7 @@ int fio_send_pages(FILE* in, FILE* out, pgFile *file,
|
||||
|
||||
if ((int)hdr.arg < 0) /* read error */
|
||||
{
|
||||
errno = -(int)hdr.arg;
|
||||
return -1;
|
||||
return (int)hdr.arg;
|
||||
}
|
||||
|
||||
blknum = hdr.arg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user