Skip to content

Commit 4b9343a

Browse files
authored
Merge pull request #9887 from gpaulsen/romio321_stat64_v41x
romio321 gpfs, change stat64 to stat
2 parents c0db3d9 + f18cef1 commit 4b9343a

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)