Skip to content

Commit 1504ffb

Browse files
committed
ompi_file_delete: output a better error message
Signed-off-by: Jeff Squyres <[email protected]>
1 parent b2e36f0 commit 1504ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/io/ompio/io_ompio_file_open.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ int mca_io_ompio_file_delete (const char *filename,
115115

116116
if (0 > ret ) {
117117
if ( ENOENT == errno ) {
118-
// opal_output (1, "errno = %d %s\n", errno, strerror(errno));
119118
return MPI_ERR_NO_SUCH_FILE;
120119
} else {
121-
opal_output (1, "errno = %d %s\n", errno, strerror(errno));
120+
opal_output (0, "mca_io_ompio_file_delete: Could not remove file %s errno = %d %s\n", filename,
121+
errno, strerror(errno));
122122
return MPI_ERR_ACCESS;
123123
}
124124
}

0 commit comments

Comments
 (0)