4
0
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:
Corinna Vinschen 2023-08-09 18:08:16 +02:00
parent 9939aa7d09
commit adc7eafa76

View File

@ -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;