2
0
Эх сурвалжийг харах

- Fixed small bug in stats_register() messages...

ric 23 жил өмнө
parent
commit
4b70450d66
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      stats.c

+ 1 - 1
stats.c

@@ -304,7 +304,7 @@ int stats_register()
 	f.new_func = (void*) find_export("snmp_new_handler", 1);
 	f.new_func = (void*) find_export("snmp_new_handler", 1);
 	f.free_func = (void*) find_export("snmp_free_handler", 1);
 	f.free_func = (void*) find_export("snmp_free_handler", 1);
 	if(!f.reg_func || !f.new_func || !f.free_func) {
 	if(!f.reg_func || !f.new_func || !f.free_func) {
-		LOG(L_INFO, "%s: Couldn't find SNMP module\n");
+		LOG(L_INFO, "%s: Couldn't find SNMP module\n", func);
 		LOG(L_INFO, "%s: Not reporting stats through SNMP\n", func);
 		LOG(L_INFO, "%s: Not reporting stats through SNMP\n", func);
 		return 0;
 		return 0;
 	}
 	}