mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
win: fix pNtQueryDirectoryFile check
Fixed incorrect verification of the pNtQueryDirectoryFile pointer.
This commit is contained in:
parent
f806be87d3
commit
65e3735320
@ -103,7 +103,7 @@ void uv__winapi_init(void) {
|
||||
|
||||
pNtQueryDirectoryFile = (sNtQueryDirectoryFile)
|
||||
GetProcAddress(ntdll_module, "NtQueryDirectoryFile");
|
||||
if (pNtQueryVolumeInformationFile == NULL) {
|
||||
if (pNtQueryDirectoryFile == NULL) {
|
||||
uv_fatal_error(GetLastError(), "GetProcAddress");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user