Pārlūkot izejas kodu

*** empty log message ***

Jan Janak 23 gadi atpakaļ
vecāks
revīzija
9148ad984f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      sr_module.c

+ 1 - 1
sr_module.c

@@ -133,7 +133,7 @@ int load_module(char* path)
 	struct module_exports* exp;
 	struct module_exports* exp;
 	struct sr_module* t;
 	struct sr_module* t;
 	
 	
-	handle=dlopen(path, RTLD_NOW | RTLD_GLOBAL); /* resolve all symbols now */
+	handle=dlopen(path, RTLD_NOW); /* resolve all symbols now */
 	if (handle==0){
 	if (handle==0){
 		LOG(L_ERR, "ERROR: load_module: could not open module <%s>: %s\n",
 		LOG(L_ERR, "ERROR: load_module: could not open module <%s>: %s\n",
 					path, dlerror() );
 					path, dlerror() );