From b6522c40d991ea6188d2aa676233a2339615b177 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Thu, 13 Jun 2019 12:39:43 -0600 Subject: [PATCH] now pio_init_logging() checks are returns error codes --- src/clib/pioc_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clib/pioc_support.c b/src/clib/pioc_support.c index 70a51e0997c..af6075e7434 100644 --- a/src/clib/pioc_support.c +++ b/src/clib/pioc_support.c @@ -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_EINVAL; + return pio_err(ios, file, PIO_EIO, filename, line); pio_log_ref_cnt = 1; }