From 989ac2737759a0fc6a80ec08b1a68b35eab2ff60 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 18 Apr 2013 16:14:00 -0400 Subject: [PATCH] LP#1170484: log failure to load library for C app as an error Signed-off-by: Galen Charlton Signed-off-by: Ben Shum --- src/libopensrf/osrf_application.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libopensrf/osrf_application.c b/src/libopensrf/osrf_application.c index f7be6a6..c205214 100644 --- a/src/libopensrf/osrf_application.c +++ b/src/libopensrf/osrf_application.c @@ -153,7 +153,7 @@ int osrfAppRegisterApplication( const char* appName, const char* soFile ) { void* handle = dlopen( soFile, RTLD_NOW ); if( ! handle ) { const char* msg = dlerror(); - osrfLogWarning( OSRF_LOG_MARK, "Failed to dlopen library file %s: %s", soFile, msg ); + osrfLogError( OSRF_LOG_MARK, "Failed to dlopen library file %s: %s", soFile, msg ); return -1; } -- 2.43.2