| ... | @@ -1838,7 +1838,7 @@ Error os_file_open_r(Buf *full_path, OsFile *out_file, OsTimeStamp *mtime) { | ... | @@ -1838,7 +1838,7 @@ Error os_file_open_r(Buf *full_path, OsFile *out_file, OsTimeStamp *mtime) { |
| 1838 | | 1838 | |
| 1839 | if (mtime != nullptr) { | 1839 | if (mtime != nullptr) { |
| 1840 | FILETIME last_write_time; | 1840 | FILETIME last_write_time; |
| 1841 | if (!GetFileTime(file, nullptr, nullptr, &last_write_time)) { | 1841 | if (!GetFileTime(result, nullptr, nullptr, &last_write_time)) { |
| 1842 | CloseHandle(result); | 1842 | CloseHandle(result); |
| 1843 | return ErrorUnexpected; | 1843 | return ErrorUnexpected; |
| 1844 | } | 1844 | } |