projects
/
working
/
OpenSRF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f15b0
)
LP#1170484: log failure to load library for C app as an error
user/gmcharlt/lp1170484_log_error_on_dlopen_failure
author
Galen Charlton
<gmc@esilibrary.com>
Thu, 18 Apr 2013 20:14:00 +0000
(16:14 -0400)
committer
Galen Charlton
<gmc@esilibrary.com>
Thu, 18 Apr 2013 20:14:00 +0000
(16:14 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
src/libopensrf/osrf_application.c
patch
|
blob
|
history
diff --git
a/src/libopensrf/osrf_application.c
b/src/libopensrf/osrf_application.c
index
f7be6a6
..
c205214
100644
(file)
--- 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();
- osrfLog
Warning
( OSRF_LOG_MARK, "Failed to dlopen library file %s: %s", soFile, msg );
+ osrfLog
Error
( OSRF_LOG_MARK, "Failed to dlopen library file %s: %s", soFile, msg );
return -1;
}