Commit 1a8fb943 authored by mingodad's avatar mingodad
Browse files

Fix missing parameter

parent 61537d89
......@@ -868,7 +868,7 @@ static void pe_build_imports(struct pe_info *pe)
v = (ADDR3264)GetProcAddress(dllref->handle, ordinal?(char*)0+ordinal:name);
}
if (!v)
tcc_error_noabort("could not resolve symbol '%s'", name);
tcc_error_noabort(pe->S, "could not resolve symbol '%s'", name);
} else
#endif
if (ordinal) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment