소스 검색

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

ric 23 년 전
부모
커밋
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.free_func = (void*) find_export("snmp_free_handler", 1);
 	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);
 		return 0;
 	}