ntdll/tests: Fix size passed to GetModuleFileNameW.
This commit is contained in:
parent
354ddcb382
commit
084c8cc9c0
1 changed files with 1 additions and 1 deletions
|
@ -10304,7 +10304,7 @@ static void test_backtrace(void)
|
|||
|
||||
if (count && !buffer[count - 1]) count--; /* win11 32-bit */
|
||||
RtlPcToFileHeader( buffer[count - 1], &module );
|
||||
GetModuleFileNameW( module, name, sizeof(name) );
|
||||
GetModuleFileNameW( module, name, ARRAY_SIZE(name) );
|
||||
if ((p = wcsrchr( name, '\\' ))) p++;
|
||||
else p = name;
|
||||
ok( !wcsicmp( p, L"ntdll.dll" ), "wrong module %p %s for frame %u %p\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue