Skip to content

Commit

Permalink
Merge pull request #11119 from drwootton/undefined_eof_offset_v5
Browse files Browse the repository at this point in the history
Fix undefined file offset in mca_io_ompio_file_seek.
  • Loading branch information
awlauria authored Nov 29, 2022
2 parents f0cc528 + f676109 commit 0ddf6b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ompi/mca/io/ompio/io_ompio_file_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ int mca_io_ompio_file_seek (ompi_file_t *fh,
{
int ret = OMPI_SUCCESS;
mca_common_ompio_data_t *data;
OMPI_MPI_OFFSET_TYPE offset, temp_offset, temp_offset2;
OMPI_MPI_OFFSET_TYPE offset, temp_offset2;
OMPI_MPI_OFFSET_TYPE temp_offset = 0;

data = (mca_common_ompio_data_t *) fh->f_io_selected_data;

Expand Down

0 comments on commit 0ddf6b0

Please sign in to comment.