mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Refactor and code cleanup.
This commit is contained in:
@@ -92,7 +92,7 @@ namespace DiscImageChef.Devices.Linux
|
||||
sense |= (io_hdr.info & SgInfo.OkMask) != SgInfo.Ok;
|
||||
|
||||
if(io_hdr.duration > 0)
|
||||
duration = (double)io_hdr.duration;
|
||||
duration = io_hdr.duration;
|
||||
else
|
||||
duration = (end - start).TotalMilliseconds;
|
||||
|
||||
@@ -335,7 +335,7 @@ namespace DiscImageChef.Devices.Linux
|
||||
|
||||
if(Interop.DetectOS.Is64Bit())
|
||||
{
|
||||
long result64 = Extern.readlink64(path, buf, (long)4096);
|
||||
long result64 = Extern.readlink64(path, buf, 4096);
|
||||
if(result64 <= 0)
|
||||
return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user