Typo in previous PR

re: https://github.com/Unidata/netcdf-c/issues/2136

Patch for: https://github.com/Unidata/netcdf-c/pull/2134/

Inadvertent error changing ->info to ->s3.
This commit is contained in:
Dennis Heimbigner 2021-11-03 12:06:50 -06:00
parent fcf0fa7dbd
commit e14c17fd08

View File

@ -1117,7 +1117,7 @@ openmagic(struct MagicFile* file)
assert(file->parameters != NULL); assert(file->parameters != NULL);
if((retval = MPI_File_open(((NC_MPI_INFO*)file->parameters)->comm, if((retval = MPI_File_open(((NC_MPI_INFO*)file->parameters)->comm,
(char*)file->path,MPI_MODE_RDONLY, (char*)file->path,MPI_MODE_RDONLY,
((NC_MPI_INFO*)file->parameters)->s3, ((NC_MPI_INFO*)file->parameters)->info,
&file->fh)) != MPI_SUCCESS) { &file->fh)) != MPI_SUCCESS) {
#ifdef MPI_ERR_NO_SUCH_FILE #ifdef MPI_ERR_NO_SUCH_FILE
int errorclass; int errorclass;