We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccdb039 commit caf30ceCopy full SHA for caf30ce
1 file changed
src/drivers/ncmpio/ncmpio_close.c
@@ -195,7 +195,7 @@ ncmpio_close(void *ncdp)
195
MPI_File_seek(fh, 0, MPI_SEEK_END);
196
MPI_File_get_position(fh, &file_size);
197
/* truncate file size to header size, if larger than header */
198
- if (file_size > ncp->xsz} {
+ if (file_size > ncp->xsz) {
199
mpireturn = MPI_File_set_size(fh, ncp->xsz);
200
if (mpireturn != MPI_SUCCESS) {
201
err = ncmpii_error_mpi2nc(mpireturn,"MPI_File_set_size");
0 commit comments