diff options
Diffstat (limited to 'test/big.c')
-rw-r--r-- | test/big.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -120,7 +120,7 @@ enough_room(hid_t fapl) for (i=0; i<NELMTS(fd); i++) fd[i] = -1; /* Get file name template */ - assert(H5F_LOW_FAMILY==H5Pget_driver(fapl)); + assert(H5FD_FAMILY==H5Pget_driver(fapl)); h5_fixname(FILENAME[0], fapl, filename, sizeof filename); /* Create files */ @@ -367,16 +367,16 @@ main (void) fapl = h5_fileaccess(); /* The file driver must be the family driver */ - if (H5F_LOW_FAMILY!=H5Pget_driver(fapl)) { + if (H5FD_FAMILY!=H5Pget_driver(fapl)) { printf("Changing file drivers to the family driver, %lu bytes each\n", (unsigned long)FAMILY_SIZE); - if (H5Pset_family(fapl, FAMILY_SIZE, H5P_DEFAULT)<0) goto error; - } else if (H5Pget_family(fapl, &family_size, NULL)<0) { + if (H5Pset_fapl_family(fapl, FAMILY_SIZE, H5P_DEFAULT)<0) goto error; + } else if (H5Pget_fapl_family(fapl, &family_size, NULL)<0) { goto error; } else if (family_size!=FAMILY_SIZE) { printf("Changing family member size from %lu to %lu\n", (unsigned long)family_size, (unsigned long)FAMILY_SIZE); - if (H5Pset_family(fapl, FAMILY_SIZE, H5P_DEFAULT)<0) goto error; + if (H5Pset_fapl_family(fapl, FAMILY_SIZE, H5P_DEFAULT)<0) goto error; } /* |