mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 15:09:32 +08:00
Cygwin: fhandler_base::lseek: fix formatting
Fixes: edfa581d3c5a ("Cygwin: lseek: implement SEEK_DATA and SEEK_HOLE for files") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
9939aa7d09
commit
adc7eafa76
@ -1195,7 +1195,7 @@ fhandler_base::lseek (off_t offset, int whence)
|
|||||||
SEEK_HOLE: seek to offset */
|
SEEK_HOLE: seek to offset */
|
||||||
fpi.CurrentByteOffset.QuadPart = (whence == SEEK_DATA)
|
fpi.CurrentByteOffset.QuadPart = (whence == SEEK_DATA)
|
||||||
? out.FileOffset.QuadPart
|
? out.FileOffset.QuadPart
|
||||||
: offset;
|
: offset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user