Skip to content

Commit

Permalink
removed Linux LoadLibrary stderr printf
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug committed Apr 12, 2018
1 parent b6f74f0 commit bd3085e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions OS/OS_linux_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ inline void* Services_Common::LoadLibrary(
const std::string& libraryName ) const
{
void* pLibrary = dlopen( libraryName.c_str(), RTLD_NOW | RTLD_GLOBAL );
if( pLibrary == NULL )
{
fprintf(stderr, "dlopen() error: %s\n", dlerror());
}
//if( pLibrary == NULL )
//{
// fprintf(stderr, "dlopen() error: %s\n", dlerror());
//}
return pLibrary;
}

Expand Down

0 comments on commit bd3085e

Please sign in to comment.