diff options
Diffstat (limited to 'pr/src/md/windows/w95io.c')
-rw-r--r-- | pr/src/md/windows/w95io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pr/src/md/windows/w95io.c b/pr/src/md/windows/w95io.c index 913d6ef9..173a3a58 100644 --- a/pr/src/md/windows/w95io.c +++ b/pr/src/md/windows/w95io.c @@ -282,8 +282,7 @@ _PR_MD_FSYNC(PRFileDesc *fd) * to this bogosity, and if it was, I ignore the error. */ - long handle = _get_osfhandle(fd->secret->md.osfd); - BOOL ok = FlushFileBuffers((HANDLE)handle); + BOOL ok = FlushFileBuffers((HANDLE)fd->secret->md.osfd); if (!ok) { DWORD err = GetLastError(); |