diff options
Diffstat (limited to 'nptl/pt-lseek64.c')
-rw-r--r-- | nptl/pt-lseek64.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nptl/pt-lseek64.c b/nptl/pt-lseek64.c index f9faa16402..bdedd6e1cf 100644 --- a/nptl/pt-lseek64.c +++ b/nptl/pt-lseek64.c @@ -27,12 +27,9 @@ off64_t lseek64 (int fd, off64_t offset, int whence) { - int oldtype; - off64_t result; + int oldtype = CANCEL_ASYNC (); - CANCEL_ASYNC (oldtype); - - result = __libc_lseek64 (fd, offset, whence); + off64_t result = __libc_lseek64 (fd, offset, whence); CANCEL_RESET (oldtype); |