summaryrefslogtreecommitdiffstats
path: root/src/H5FDmpiposix.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-03-06 12:39:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-03-06 12:39:12 (GMT)
commit8831302db511f26118a51ecbc90f00481f6cf489 (patch)
treea3d096aa3f85c87959267d697c4982238d359d49 /src/H5FDmpiposix.c
parent7abadfa8713a5687d8db5ff1613cbaae53382bd4 (diff)
downloadhdf5-8831302db511f26118a51ecbc90f00481f6cf489.zip
hdf5-8831302db511f26118a51ecbc90f00481f6cf489.tar.gz
hdf5-8831302db511f26118a51ecbc90f00481f6cf489.tar.bz2
[svn-r6468] Purpose:
Potential bug fix. Description: The code to rotate the metadata writing process may not be compiled correctly in all cases. Solution: Change from using "++mpi_round" to "mpi_round+1" Platforms tested: Eyeballed...
Diffstat (limited to 'src/H5FDmpiposix.c')
-rw-r--r--src/H5FDmpiposix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDmpiposix.c b/src/H5FDmpiposix.c
index ae92477..9c826dc 100644
--- a/src/H5FDmpiposix.c
+++ b/src/H5FDmpiposix.c
@@ -1242,7 +1242,7 @@ done:
HMPI_GOTO_ERROR(FAIL, "MPI_Bcast failed", mpi_code);
/* Round-robin rotate to the next process */
- file->mpi_round = (++file->mpi_round)%file->mpi_size;
+ file->mpi_round = (file->mpi_round+1)%file->mpi_size;
} /* end if */
} /* end else */