Skip to content
Snippets Groups Projects
Commit 4022ae07 authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard
Browse files

Print all problems as ERR() except for "could not open" library, which

is WARN().
parent a3374377
No related branches found
No related tags found
No related merge requests found
......@@ -42,10 +42,10 @@ void *BUILTIN32_dlopen( const char *name )
if (!(handle = wine_dll_load( name, error, sizeof(error) )))
{
if (strstr(error, "undefined symbol")) /* undef symbol -> ERR() */
ERR("failed to load %s: %s\n", name, error);
else /* WARN() for libraries that are supposed to be native */
WARN("failed to load %s: %s\n", name, error );
if (strstr(error, "cannot open")) /* cannot open -> WARN() */
WARN("cannot open .so lib for builtin %s: %s\n", name, error);
else /* ERR() for all other errors (missing functions, ...) */
ERR("failed to load .so lib for builtin %s: %s\n", name, error );
}
return handle;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment