Browse Source

tm: fix minor tm_load_xapi bug

Due to a typo the check for load_xtm not found was wrong.
Andrei Pelinescu-Onciul 14 years ago
parent
commit
0a4683f73e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/tm/tm_load.h

+ 1 - 1
modules/tm/tm_load.h

@@ -191,7 +191,7 @@ static inline int tm_load_xapi(tm_xapi_t *xtmb)
 	/* import the TM auto-loading function */
 	/* import the TM auto-loading function */
 	load_xtm = (load_xtm_f)find_export("load_xtm", NO_SCRIPT, 0);
 	load_xtm = (load_xtm_f)find_export("load_xtm", NO_SCRIPT, 0);
 
 
-	if (load_tm == NULL) {
+	if (load_xtm == NULL) {
 		LOG(L_WARN, "Cannot import load_xtm function from tm module\n");
 		LOG(L_WARN, "Cannot import load_xtm function from tm module\n");
 		return -1;
 		return -1;
 	}
 	}