From d530c02e49d8df9db5e63fc47585c1a7c52dffd0 Mon Sep 17 00:00:00 2001 From: antona Date: Fri, 3 Jun 2005 10:33:35 +0000 Subject: [PATCH] Ooops. Forgot to actually use our fnSetFilePointerEx() instead of SetFilePointerEx() directly... --- libntfs/win32_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs/win32_io.c b/libntfs/win32_io.c index 44ee1afa..6efb19e5 100644 --- a/libntfs/win32_io.c +++ b/libntfs/win32_io.c @@ -866,7 +866,7 @@ static s64 ntfs_device_win32_abs_seek(struct win32_fd *fd, s64 pos) li.QuadPart &= ~(s64)(NTFS_BLOCK_SIZE - 1); /* Only seek if we are not there already. */ if (li.QuadPart != fd->real_pos) { - if (!SetFilePointerEx(handle, li, NULL, FILE_BEGIN)) { + if (!fnSetFilePointerEx(handle, li, NULL, FILE_BEGIN)) { errno = ntfs_w32error_to_errno(GetLastError()); Dputs("Error: SetFilePointer failed."); return -1;