mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Corrected setting up expected number of blocks.
This commit is contained in:
@@ -364,7 +364,7 @@ namespace DiscImageChef.Devices.Linux
|
|||||||
io_cmd.arg = argument;
|
io_cmd.arg = argument;
|
||||||
io_cmd.flags = flags;
|
io_cmd.flags = flags;
|
||||||
io_cmd.blksz = blockSize;
|
io_cmd.blksz = blockSize;
|
||||||
io_cmd.blksz = blocks;
|
io_cmd.blocks = blocks;
|
||||||
if(timeout > 0)
|
if(timeout > 0)
|
||||||
{
|
{
|
||||||
io_cmd.data_timeout_ns = timeout * 1000000000;
|
io_cmd.data_timeout_ns = timeout * 1000000000;
|
||||||
|
|||||||
Reference in New Issue
Block a user