Ooops. Forgot to actually use our fnSetFilePointerEx() instead of

SetFilePointerEx() directly...
edge.strict_endians
antona 2005-06-03 10:33:35 +00:00
parent b8a543a27e
commit d530c02e49
1 changed files with 1 additions and 1 deletions

View File

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