fixed error reporting when fallocate fails
This commit is contained in:
parent
bd1f0726ce
commit
7be0604877
|
@ -52,6 +52,7 @@
|
||||||
* added more detailed instrumentation of the disk I/O thread
|
* added more detailed instrumentation of the disk I/O thread
|
||||||
|
|
||||||
|
|
||||||
|
* fixed error reporting when fallocate fails
|
||||||
* deprecate support for separate proxies for separate kinds of connections
|
* deprecate support for separate proxies for separate kinds of connections
|
||||||
|
|
||||||
0.15.4 release
|
0.15.4 release
|
||||||
|
|
|
@ -1572,7 +1572,7 @@ namespace libtorrent
|
||||||
// and report it.
|
// and report it.
|
||||||
if (errno != ENOSYS)
|
if (errno != ENOSYS)
|
||||||
{
|
{
|
||||||
ec.assign(ret, get_posix_category());
|
ec.assign(errno, get_posix_category());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif // TORRENT_LINUX
|
#endif // TORRENT_LINUX
|
||||||
|
|
Loading…
Reference in New Issue