Skip to content

Commit

Permalink
fixed incorrect use of file before it was set in pio_msg.c
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 25, 2019
1 parent 42ec250 commit f0f128a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clib/pio_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2151,7 +2151,7 @@ int write_darray_multi_handler(iosystem_desc_t *ios)

/* Get decomposition information. */
if (!(iodesc = pio_get_iodesc_from_id(ioid)))
return pio_err(ios, file, PIO_EBADID, __FILE__, __LINE__);
return pio_err(ios, NULL, PIO_EBADID, __FILE__, __LINE__);

if ((mpierr = MPI_Bcast(&arraylen, 1, MPI_OFFSET, 0, ios->intercomm)))
return check_mpi2(ios, NULL, mpierr, __FILE__, __LINE__);
Expand Down

0 comments on commit f0f128a

Please sign in to comment.