git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39f92ca
)
fix error code
author
Michal Voců
<michal@ruk.cuni.cz>
Tue, 22 Jun 2010 15:16:21 +0000
(15:16 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Tue, 22 Jun 2010 15:16:21 +0000
(15:16 +0000)
org.glite.lb.logger/src/plugin_mgr.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.logger/src/plugin_mgr.c
b/org.glite.lb.logger/src/plugin_mgr.c
index
8f32a67
..
03f01fc
100644
(file)
--- a/
org.glite.lb.logger/src/plugin_mgr.c
+++ b/
org.glite.lb.logger/src/plugin_mgr.c
@@
-50,7
+50,7
@@
int plugin_mgr_init(const char *plugin_name, char *cfg)
dl_handle = dlopen(plugin_name, RTLD_LAZY);
if(dl_handle == NULL) {
snprintf(err, sizeof(err), "plugin_init: error opening dynamic library: %s", dlerror());
- set_error(IL_SYS,
errno
, err);
+ set_error(IL_SYS,
ENOENT
, err);
return -1;
}
dlerror();