Fix missing parameter

This commit is contained in:
mingodad 2021-10-22 07:37:15 +02:00
parent 61537d899a
commit 1a8fb94350

View File

@ -868,7 +868,7 @@ static void pe_build_imports(struct pe_info *pe)
v = (ADDR3264)GetProcAddress(dllref->handle, ordinal?(char*)0+ordinal:name); v = (ADDR3264)GetProcAddress(dllref->handle, ordinal?(char*)0+ordinal:name);
} }
if (!v) if (!v)
tcc_error_noabort("could not resolve symbol '%s'", name); tcc_error_noabort(pe->S, "could not resolve symbol '%s'", name);
} else } else
#endif #endif
if (ordinal) { if (ordinal) {