Prechádzať zdrojové kódy

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>
(cherry picked from commit 05023ee2e9ba03046333d1347897cc7cf84af489)
Christine Caulfield 5 rokov pred
rodič
commit
958ea8f81d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;