1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-24 08:52:38 +02:00

... win fix

This commit is contained in:
Yura Sokolov 2023-04-18 20:30:46 +03:00
parent 2640ec6da0
commit b0472a76b5

View File

@ -2721,7 +2721,7 @@ fio_send_file_write(FILE* out, send_file_state* st, char *buf, size_t len)
if (st->read_size > st->write_size && if (st->read_size > st->write_size &&
_chsize_s(fileno(out), st->read_size) != 0) _chsize_s(fileno(out), st->read_size) != 0)
{ {
elog(WARNING, "Could not change file size to %lld: %m", st->read_size) elog(WARNING, "Could not change file size to %lld: %m", st->read_size);
return false; return false;
} }
#endif #endif