Skip to content

Commit

Permalink
romio321 gpfs, change stat64 to stat
Browse files Browse the repository at this point in the history
This is a one-off fix for romio321, but matches what's in romio master

Signed-off-by: Mark Allen <[email protected]>
bot:notacherrypick
  • Loading branch information
markalle committed Jan 10, 2022
1 parent 5ef48ea commit cad91e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ void ADIOI_GPFS_Open(ADIO_File fd, int *error_code)

MPI_Comm_rank(fd->comm, &rank);
if ((rank == fd->hints->ranklist[0]) || (fd->comm == MPI_COMM_SELF)) {
struct stat64 gpfs_statbuf;
struct stat gpfs_statbuf;
/* Get the (real) underlying file system block size */
rc = stat64(fd->filename, &gpfs_statbuf);
rc = stat(fd->filename, &gpfs_statbuf);
if (rc >= 0)
{
fd->blksize = gpfs_statbuf.st_blksize;
Expand Down

0 comments on commit cad91e9

Please sign in to comment.