Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2023-08-09 19:08:16 +0300
committerCorinna Vinschen <corinna@vinschen.de>2023-08-09 19:08:45 +0300
commitadc7eafa76e719d01823b6c929e468c14075ec95 (patch)
tree3b2a4a3cfa9cc8559fa42d619a9da9ea896e4ec8 /winsup
parent9939aa7d0945719dcf8856d28cd64a7a94fbd888 (diff)
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>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/fhandler/base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler/base.cc b/winsup/cygwin/fhandler/base.cc
index d8351d7a6..3d348b515 100644
--- a/winsup/cygwin/fhandler/base.cc
+++ b/winsup/cygwin/fhandler/base.cc
@@ -1195,7 +1195,7 @@ fhandler_base::lseek (off_t offset, int whence)
SEEK_HOLE: seek to offset */
fpi.CurrentByteOffset.QuadPart = (whence == SEEK_DATA)
? out.FileOffset.QuadPart
- : offset;
+ : offset;
}
}
break;