From 978e83d28a6e4f53288314c993d85501672dada4 Mon Sep 17 00:00:00 2001 From: Levi Naden Date: Tue, 2 Jan 2018 11:43:15 -0500 Subject: [PATCH] Fix another test typo --- nc_test4/tst_chunks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nc_test4/tst_chunks.c b/nc_test4/tst_chunks.c index 9561b72eb2..2ae73bfdda 100644 --- a/nc_test4/tst_chunks.c +++ b/nc_test4/tst_chunks.c @@ -303,7 +303,7 @@ main(int argc, char **argv) /* Create a netcdf4 file with 1 dimension. */ if (nc_create(FILE_NAME, NC_NETCDF4, &ncid)) ERR; - if (nc_def_dim(ncid, unlimdimid, NC_UNLIMITED, &unlim_dimid)) ERR; + if (nc_def_dim(ncid, D_UNLIM, NC_UNLIMITED, &unlim_dimid)) ERR; /* Add one var with one chunksize */ if (nc_def_var(ncid, V_UNLIM_ONE, NC_USHORT, NDIMS1, &unlim_dimid, &first_unlim_varid)) ERR;