Skip to content

Commit bf48a6c

Browse files
markallegpaulsen
authored andcommitted
romio321 gpfs, change stat64 to stat
bot:notacherrypick This is a one-off fix for romio321. This comes from ROMIO v3.3 (see: pmodels/mpich@90a0fd545) Signed-off-by: Mark Allen <[email protected]>
1 parent 638dff0 commit bf48a6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_open.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ void ADIOI_GPFS_Open(ADIO_File fd, int *error_code)
115115

116116
MPI_Comm_rank(fd->comm, &rank);
117117
if ((rank == fd->hints->ranklist[0]) || (fd->comm == MPI_COMM_SELF)) {
118-
struct stat64 gpfs_statbuf;
118+
struct stat gpfs_statbuf;
119119
/* Get the (real) underlying file system block size */
120-
rc = stat64(fd->filename, &gpfs_statbuf);
120+
rc = stat(fd->filename, &gpfs_statbuf);
121121
if (rc >= 0)
122122
{
123123
fd->blksize = gpfs_statbuf.st_blksize;

0 commit comments

Comments
 (0)