Skip to content

Commit

Permalink
fix error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jun 13, 2019
1 parent b6522c4 commit 337d32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clib/pioc_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ pio_init_logging(void)

/* Open a file for this rank to log messages. */
if (!(LOG_FILE = fopen(log_filename, "w")))
return pio_err(ios, file, PIO_EIO, filename, line);
return pio_err(NULL, NULL, PIO_EIO, __FILE__, __LINE__);

pio_log_ref_cnt = 1;
}
Expand Down

0 comments on commit 337d32a

Please sign in to comment.