Make Sys_DLL_Load() on *nix non verbose on errors

Just like the windows port.
This commit is contained in:
dhewg 2012-07-03 19:46:33 +02:00
parent be37221024
commit b242041319

View file

@ -265,11 +265,7 @@ TODO: OSX - use the native API instead? NSModule
=================
*/
uintptr_t Sys_DLL_Load( const char *path ) {
void *handle = dlopen( path, RTLD_NOW );
if ( !handle ) {
Sys_Printf( "dlopen '%s' failed: %s\n", path, dlerror() );
}
return (uintptr_t)handle;
return (uintptr_t)dlopen( path, RTLD_NOW );
}
/*