소스 검색

test: Fix cpgtest

... to cope with the max number of group members.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Christine Caulfield 5 년 전
부모
커밋
05023ee2e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/testcpg.c

+ 1 - 1
test/testcpg.c

@@ -303,7 +303,7 @@ int main (int argc, char *argv[]) {
 	int opt;
 	unsigned int nodeid;
 	char *fgets_res;
-	struct cpg_address member_list[64];
+	struct cpg_address member_list[CPG_MEMBERS_MAX];
 	int member_list_entries;
 	int i;
 	int recnt;