kernel32: Fix a typo in the LoadLibrary return value testing.
This commit is contained in:
parent
3ba00cf538
commit
25ae02b4ed
|
@ -662,7 +662,7 @@ static void test_section_access(void)
|
||||||
|
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
hlib = LoadLibrary(dll_name);
|
hlib = LoadLibrary(dll_name);
|
||||||
ok(ret, "LoadLibrary error %d\n", GetLastError());
|
ok(hlib != 0, "LoadLibrary error %d\n", GetLastError());
|
||||||
|
|
||||||
size = VirtualQuery((char *)hlib + section.VirtualAddress, &info, sizeof(info));
|
size = VirtualQuery((char *)hlib + section.VirtualAddress, &info, sizeof(info));
|
||||||
ok(size == sizeof(info),
|
ok(size == sizeof(info),
|
||||||
|
|
Loading…
Reference in New Issue