Commit 3050f11f authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Fix access/write file time mixup.

parent b036ee63
......@@ -2112,7 +2112,7 @@ NTSTATUS WINAPI NtSetInformationFile(HANDLE handle, PIO_STATUS_BLOCK io,
return io->u.Status;
if (info->LastAccessTime.QuadPart || info->LastWriteTime.QuadPart)
io->u.Status = set_file_times( fd, &info->LastAccessTime, &info->LastWriteTime );
io->u.Status = set_file_times( fd, &info->LastWriteTime, &info->LastAccessTime );
if (io->u.Status == STATUS_SUCCESS && info->FileAttributes)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment