Skip to content

Commit 6750703

Browse files
committed
Fix windows.
1 parent 7650d7f commit 6750703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/io.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ MMAPFile* detail::OpenMmap(std::string path, std::size_t offset, std::size_t len
187187
HANDLE fd = CreateFile(path.c_str(), GENERIC_READ, FILE_SHARE_READ, nullptr, OPEN_EXISTING,
188188
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED, nullptr);
189189
CHECK_NE(fd, INVALID_HANDLE_VALUE)
190-
<< "Failed to open:" << path << ". " << SystemError().message();
190+
<< "Failed to open:" << path << ". " << error::SystemError().message();
191191
#else
192192
auto fd = open(path.c_str(), O_RDONLY);
193193
CHECK_GE(fd, 0) << "Failed to open:" << path << ". " << error::SystemError().message();

0 commit comments

Comments
 (0)