diff --git a/nc_test/tst_addvar.c b/nc_test/tst_addvar.c index f4010f8b7..fbf67e3f6 100644 --- a/nc_test/tst_addvar.c +++ b/nc_test/tst_addvar.c @@ -36,7 +36,7 @@ int main(int argc, char** argv) { printf("***** Reopening file...\t"); - err = nc_open(FILENAME, NC_WRITE|NC_PNETCDF, comm, info &ncid); ERR; + err = nc_open_par(FILENAME, NC_WRITE|NC_PNETCDF, comm, info &ncid); ERR; if(err) { }